home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 May (DVD) / Macworld Resource DVD May 2003.toast / Data / Software / Games / JKII_Demo.sit / Jedi Knight II Demo / demo / assets0.pk3 / ui / ingamecontrols.menu < prev    next >
Encoding:
Text File  |  2002-03-22  |  69.5 KB  |  3,497 lines

  1. //--------------------------------------------------------------
  2. //
  3. // in-game CONTROLS MENU
  4. //
  5. //--------------------------------------------------------------
  6. {
  7.     menuDef 
  8.     {
  9.         name                    "ingameControlsMenu"
  10.         fullScreen                1                            // MENU_TRUE                
  11.         rect                    0 0 640 480                        // Size and position of the menu
  12.         visible                1                            // Visible on open
  13.         focusColor                1 1 1 1                        // Focus color for text and items
  14.         descX                    375
  15.         descY                    425
  16.         descScale                .8
  17.         descColor                .235 .882 .847 1                    // Focus color for text and items
  18.         descAlignment            ITEM_ALIGN_CENTER        
  19.  
  20.         onOpen 
  21.         {
  22.                 uiScript         loadControls
  23.                 hide            forcecontrols
  24.                 hide             attackcontrols 
  25.                 hide            movecontrols
  26.                 hide            invcontrols
  27.                 hide             quickcontrols
  28.                 hide            joycontrols
  29.                 hide            othercontrols
  30.                 show            setup_background
  31.                 show             weaponcontrols
  32.         }
  33.  
  34.         onClose 
  35.         {
  36.             uiScript             saveControls
  37.         }
  38.             
  39.         onESC 
  40.         { 
  41.             play                sound/interface/button1.wav
  42.             hide                highlights
  43.             close                all
  44.             open                ingameMainMenu
  45.         }
  46.  
  47.         //----------------------------------------------------------------------------------------------
  48.         //
  49.         //    MENU BACKGROUND
  50.         //
  51.         //----------------------------------------------------------------------------------------------
  52.         itemDef 
  53.         {
  54.             name                frame_pic
  55.             group                none
  56.             style                WINDOW_STYLE_SHADER
  57.             rect                0 0 640 480
  58.             background            "gfx/menus/menu1"                    // Frame
  59.             forecolor            1 1 1 1
  60.             visible            1
  61.             decoration
  62.         }
  63.  
  64.         // The saber glow on the left
  65.         itemDef 
  66.         {
  67.             name                saberglow
  68.             group                none
  69.             style                WINDOW_STYLE_SHADER
  70.             rect                30 0 90 480
  71.             background            "gfx/menus/menu3"                    // Frame
  72.             forecolor            0.8 0.8 0.8 1
  73.             visible            1
  74.             decoration
  75.         }
  76.  
  77.  
  78.         // The starwars logo on the top
  79.         itemDef 
  80.         {
  81.             name                starwars
  82.             group                none
  83.             style                WINDOW_STYLE_SHADER
  84.             rect                143 12 470 93
  85.             background            "gfx/menus/menu4"                    // Frame
  86.             forecolor            1 1 1 1
  87.             visible            1
  88.             decoration
  89.         }
  90.  
  91.         // The saber halo on the left
  92.         itemDef 
  93.         {
  94.             name                saberhalo
  95.             group                none
  96.             style                WINDOW_STYLE_SHADER
  97.             rect                -425 -185 1000 1000
  98.             background            "gfx/menus/menu2"                    // Frame
  99.             forecolor            0.5 0.5 0.5 1
  100.             visible            1
  101.             decoration
  102.         }
  103.  
  104.         itemDef
  105.         {
  106.             name                logomodel
  107.             group                none
  108.             type                 ITEM_TYPE_MODEL
  109.             rect                -123 48 400 400
  110.             model_angle            90
  111.             model_rotation        3.5
  112.             asset_model            "models/map_objects/bespin/jk2logo.md3"
  113. //            model_fovx            37
  114. //            model_fovy            34
  115. //            model_origin        100 100 100
  116.             visible            1
  117.             decoration
  118.         }
  119.  
  120.         // The saber halo on the left
  121.         itemDef 
  122.         {
  123.             name                saberhalo2
  124.             group                none
  125.             style                WINDOW_STYLE_SHADER
  126.             rect                -225 15 600 600
  127.             background            "gfx/menus/menu2b"                    // Frame
  128.             forecolor            0.25 0.25 0.25 1
  129.             visible            1
  130.             decoration
  131.         }
  132.  
  133.         //----------------------------------------------------------------------------------------------
  134.         //
  135.         //    TOP MENU BUTTONS
  136.         //
  137.         //----------------------------------------------------------------------------------------------
  138.  
  139.  
  140.         // Big button "SAVE"
  141.         itemDef 
  142.         {
  143.             name                savegamebutton_glow
  144.             group                mods
  145.             style                WINDOW_STYLE_SHADER
  146.             rect                115 115 130 24
  147.             background            "gfx/menus/menu_buttonback"            // Frame around button
  148.             forecolor            1 1 1 1
  149.             visible            0
  150.             decoration
  151.         }
  152.  
  153.         itemDef 
  154.         {
  155.             name                savegamebutton
  156.             group                toprow
  157.             text                @MENUS1_SAVE
  158.             descText            @MENUS1_SAVE_CURRENT_GAME
  159.             style                WINDOW_STYLE_EMPTY
  160.             type                ITEM_TYPE_BUTTON
  161.             rect                115 115 130 24
  162.             textaligny            0
  163.             font                3
  164.             textscale            0.9
  165.             textalign            ITEM_ALIGN_CENTER
  166.             textstyle            3
  167.             textalignx            65
  168.             forecolor            0.65 0.65 1 1
  169.             visible                1
  170.  
  171.             mouseEnter 
  172.             { 
  173.                 show            savegamebutton_glow 
  174.             }
  175.             mouseExit 
  176.             { 
  177.                 hide            savegamebutton_glow 
  178.             }            
  179.             action 
  180.             { 
  181.                 play            sound/interface/button1 
  182.                 close            all 
  183.                 open            ingamesaveMenu 
  184.             }
  185.         }
  186.  
  187.  
  188.         // Big button "LOAD"
  189.         itemDef 
  190.         {
  191.             name                loadgamebutton_glow
  192.             group                mods
  193.             style                WINDOW_STYLE_SHADER
  194.             rect                245 115 130 24
  195.             background            "gfx/menus/menu_buttonback"            // Frame around button
  196.             forecolor            1 1 1 1
  197.             visible            0
  198.             decoration
  199.         }
  200.  
  201.         itemDef 
  202.         {
  203.             name                loadgamebutton
  204.             group                toprow
  205.             text                @MENUS1_LOAD
  206.             descText            @MENUS1_LOAD_A_SAVED_GAME
  207.             rect                245 115 130 24
  208.             style                WINDOW_STYLE_EMPTY
  209.             type                ITEM_TYPE_BUTTON
  210.             textstyle            3
  211.             font                3
  212.             textscale            0.9
  213.             textaligny            0
  214.             textalign            ITEM_ALIGN_CENTER
  215.             textalignx            65
  216.             forecolor            0.65 0.65 1 1
  217.             visible            1
  218.  
  219.             mouseEnter 
  220.             { 
  221.                 show            loadgamebutton_glow 
  222.             }
  223.             mouseExit 
  224.             { 
  225.                 hide            loadgamebutton_glow 
  226.             }            
  227.             action 
  228.             { 
  229.                 play            sound/interface/button1 
  230.                 close            all 
  231.                 open            ingameloadMenu 
  232.             }
  233.         }
  234.  
  235.  
  236.         // Big button "CONTROLS"
  237.         itemDef 
  238.         {
  239.             name                controlsbutton_glow
  240.             group                mods
  241.             style                WINDOW_STYLE_SHADER
  242.             rect                375 115 130 24
  243.             background            "gfx/menus/menu_buttonback"            // Frame around button
  244.             forecolor            1 1 1 1
  245.             visible                0
  246.             decoration
  247.         }
  248.  
  249.         itemDef {
  250.             name                controlsbutton
  251.             group                toprow
  252.             text                @MENUS0_CONTROLS2
  253.             descText            @MENUS0_CONFIGURE_GAME_CONTROLS
  254.             type                ITEM_TYPE_BUTTON
  255.             style                WINDOW_STYLE_EMPTY
  256.             rect                375 115 130 24
  257.             font                3
  258.             textscale            0.9
  259.             textaligny            0
  260.             textalign            ITEM_ALIGN_CENTER
  261.             textstyle            3
  262.             textalignx            65
  263.             backcolor            0 0 0 0
  264.             forecolor            1 1 1 1
  265.             visible                1
  266.             decoration
  267.             action 
  268.             { 
  269.                 play            sound/interface/button1
  270.             }
  271.              
  272.             mouseEnter 
  273.             { 
  274.                 show            controlsbutton_glow 
  275.             }
  276.             mouseExit 
  277.             { 
  278.                 hide            controlsbutton_glow 
  279.             }            
  280.         }
  281.  
  282.         // Big button "SETUP"
  283.         itemDef 
  284.         {
  285.             name                setupbutton_glow
  286.             group                mods
  287.             style                WINDOW_STYLE_SHADER
  288.             rect                505 115 130 24
  289.             background            "gfx/menus/menu_buttonback"            // Frame around button
  290.             forecolor            1 1 1 1
  291.             visible            0
  292.             decoration
  293.         }
  294.  
  295.         itemDef {
  296.             name                setupbutton
  297.             group                toprow
  298.             text                @MENUS0_SETUP
  299.             descText            @MENUS0_CONFIGURE_GAME_SETTINGS
  300.             type                ITEM_TYPE_BUTTON
  301.             style                WINDOW_STYLE_EMPTY
  302.             rect                505 115 130 24
  303.             font                3
  304.             textscale            0.9
  305.             textaligny            0
  306.             textalign            ITEM_ALIGN_CENTER
  307.             textstyle            3
  308.             textalignx            65
  309.             backcolor            0 0 0 0
  310.             forecolor            0.65 0.65 1 1
  311.             visible                1
  312.              
  313.             mouseEnter 
  314.             { 
  315.                 show            setupbutton_glow 
  316.             }
  317.             mouseExit 
  318.             { 
  319.                 hide            setupbutton_glow 
  320.             }            
  321.             action 
  322.             {
  323.                 play            sound/interface/button1 
  324.                 close            all 
  325.                 open            ingameSetupMenu 
  326.             }
  327.         }
  328.  
  329.         itemDef 
  330.         {
  331.             name                header_line
  332.             group                toprow
  333.             style                WINDOW_STYLE_SHADER
  334.             rect                125 136 500 4
  335.             background            "gfx/menus/menu_line"                    // Frame
  336.             forecolor            1 1 1 1
  337.             visible                1
  338.             decoration
  339.         }
  340.  
  341.         //----------------------------------------------------------------------------------------------
  342.         //
  343.         //    OTHER MAIN MENU BUTTONS
  344.         //
  345.         //----------------------------------------------------------------------------------------------
  346.         // EXIT button in lower left corner
  347.         itemDef 
  348.         {
  349.             name                exitgamebutton_glow
  350.             group                mods
  351.             style                WINDOW_STYLE_SHADER
  352.             rect                115 444 130 24 
  353.             background            "gfx/menus/menu_buttonback"            // Frame around button
  354.             forecolor            1 1 1 1
  355.             visible            0
  356.             decoration
  357.         }
  358.  
  359.         itemDef 
  360.         {
  361.             name                exitgamebutton
  362.             group                othermain
  363.             text                @MENUS0_EXIT
  364.             descText            @MENUS1_JEDI_KNIGHT_II
  365.             type                ITEM_TYPE_BUTTON
  366.             style                WINDOW_STYLE_EMPTY
  367.             rect                115 444 130 24 
  368.             font                3
  369.             textscale            1
  370.             textalign            ITEM_ALIGN_CENTER
  371.             textstyle            3
  372.             textalignx            65
  373.             textaligny            -1
  374.             forecolor            0.65 0.65 1 1
  375.             visible            1
  376.  
  377.             mouseEnter 
  378.             { 
  379.                 show            exitgamebutton_glow 
  380.             }
  381.             mouseExit 
  382.             { 
  383.                 hide            exitgamebutton_glow 
  384.             }            
  385.             action 
  386.             { 
  387.                 play            sound/interface/button1 
  388.                 close            all 
  389.                 open            ingamequitMenu 
  390.             }
  391.         }
  392.  
  393.         // RESUME button in the lower right corner
  394.         itemDef 
  395.         {
  396.             name                resumebutton_glow
  397.             group                mods
  398.             style                WINDOW_STYLE_SHADER
  399.             rect                495 444 130 24 
  400.             background            "gfx/menus/menu_buttonback"            // Frame around button
  401.             forecolor            1 1 1 1
  402.             visible            0
  403.             decoration
  404.         }
  405.  
  406.         itemDef 
  407.         {
  408.             name                resume
  409.             group                none
  410.             style                WINDOW_STYLE_EMPTY
  411.             type                ITEM_TYPE_BUTTON
  412.             rect                495 444 130 24 
  413.             text                @MENUS1_RESUME
  414.             descText            @MENUS1_RESUME_CURRENT_GAME
  415.             font                3
  416.             textscale            1
  417.             textalign            ITEM_ALIGN_CENTER
  418.             textstyle            3
  419.             textalignx            65
  420.             textaligny            -1
  421.             forecolor            0.65 0.65 1 1
  422.             visible            1
  423.             mouseEnter 
  424.             { 
  425.                 show            resumebutton_glow 
  426.             }
  427.             mouseExit 
  428.             { 
  429.                 hide            resumebutton_glow 
  430.             }            
  431.             action 
  432.             { 
  433.                 play            sound/interface/button1 
  434.                 uiScript        closeingame            // Close menu                
  435.             }
  436.         }
  437.  
  438.         //----------------------------------------------------------------------------------------------
  439.         //
  440.         //    SECOND ROW MENU BUTTONS
  441.         //
  442.         //----------------------------------------------------------------------------------------------
  443.         // Configure Controls title
  444.         itemDef 
  445.         {
  446.             name                control_title
  447.             group                none
  448.             style                WINDOW_STYLE_SHADER
  449.             background            "gfx/menus/menu_blendbox"
  450.             text                @MENUS1_CONFIGURE_CONTROLS
  451.                   rect                150 145 450 16
  452.             font                3
  453.             textscale            0.7
  454.             textalign            ITEM_ALIGN_CENTER        
  455.             textalignx            225
  456.             textaligny            -2
  457.             forecolor            1 1 1 1
  458.                   visible            1 
  459.             // appearance_slot        2
  460.                   decoration 
  461.         }
  462.  
  463.  
  464.         // Weapons button
  465.         itemDef 
  466.         {
  467.             name                weaponscontrolbutton_glow
  468.             group                mods
  469.             style                WINDOW_STYLE_SHADER
  470.             rect                120 173 170 30
  471.             background            "gfx/menus/menu_blendbox2"            // Frame around button
  472.             forecolor            1 1 1 1
  473.             visible            0
  474.             // appearance_slot        1
  475.             decoration
  476.         }
  477.  
  478.         itemDef 
  479.         {
  480.             name                weaponscontrolbutton
  481.             group                none
  482.             text                @MENUS0_WEAPONS
  483.             type                ITEM_TYPE_BUTTON
  484.             style                WINDOW_STYLE_EMPTY
  485.             rect                120 173 170 30
  486.             font                3
  487.             textscale            0.9
  488.             textalignx            170
  489.             textaligny            5
  490.             textalign            ITEM_ALIGN_RIGHT
  491.             textstyle            3
  492.             forecolor            0.65 0.65 1 1
  493.             visible            1
  494.             descText            @MENUS0_CONFIGURE_WEAPON_CONTROLS
  495.  
  496.             mouseEnter 
  497.             { 
  498.                 show            weaponscontrolbutton_glow
  499.             }
  500.             mouseExit 
  501.             { 
  502.                 hide            weaponscontrolbutton_glow
  503.             }            
  504.             action 
  505.             { 
  506.                 play            sound/interface/button1
  507.                 show            setup_background
  508.                 show             weaponcontrols
  509.                 hide            forcecontrols
  510.                 hide             attackcontrols
  511.                 hide            movecontrols
  512.                 hide            invcontrols
  513.                 hide             quickcontrols
  514.                 hide            joycontrols
  515.                 hide            othercontrols
  516.                 setitemcolor        weaponscontrolbutton         forecolor 1 1 1 1
  517.                 setitemcolor        forcecontrolbutton         forecolor 0.64 0.65 1 1
  518.                 setitemcolor        attackcontrolbutton         forecolor 0.64 0.65 1 1
  519.                 setitemcolor        movementcontrolbutton         forecolor 0.64 0.65 1 1
  520.                 setitemcolor        inventorycontrolbutton         forecolor 0.64 0.65 1 1
  521.                 setitemcolor        quickcontrolbutton         forecolor 0.64 0.65 1 1
  522.                 setitemcolor        mousejoystickcontrolbutton     forecolor 0.64 0.65 1 1
  523.                 setitemcolor        othercontrolbutton         forecolor 0.64 0.65 1 1
  524.             }
  525.         }
  526.  
  527.         // Force Powers button
  528.         itemDef 
  529.         {
  530.             name                forcecontrolbutton_glow
  531.             group                mods
  532.             style                WINDOW_STYLE_SHADER
  533.             rect                120 203 170 30
  534.             background            "gfx/menus/menu_blendbox2"            // Frame around button
  535.             forecolor            1 1 1 1
  536.             visible            0
  537.             // appearance_slot        1
  538.             decoration
  539.         }
  540.  
  541.         itemDef 
  542.         {
  543.             name                forcecontrolbutton
  544.             group                none
  545.             text                @MENUS1_FORCE_POWERS
  546.             type                ITEM_TYPE_BUTTON
  547.             style                WINDOW_STYLE_EMPTY
  548.             rect                120 203 170 30
  549.             font                3
  550.             textscale            0.9
  551.             textalignx            170
  552.             textaligny            5
  553.             textalign            ITEM_ALIGN_RIGHT
  554.             textstyle            3
  555.             forecolor            0.65 0.65 1 1
  556.             visible            1
  557.             descText            @MENUS0_CONFIGURE_FORCE_POWER
  558.  
  559.             mouseEnter 
  560.             { 
  561.                 show            forcecontrolbutton_glow
  562.             }
  563.             mouseExit 
  564.             { 
  565.                 hide            forcecontrolbutton_glow
  566.             }            
  567.             action 
  568.             { 
  569.                 play            sound/interface/button1
  570.                 show            setup_background
  571.                 hide             weaponcontrols
  572.                 show            forcecontrols
  573.                 hide             attackcontrols
  574.                 hide            movecontrols
  575.                 hide            invcontrols
  576.                 hide             quickcontrols
  577.                 hide            joycontrols
  578.                 hide            othercontrols
  579.                 setitemcolor        weaponscontrolbutton         forecolor 0.64 0.65 1 1
  580.                 setitemcolor        forcecontrolbutton         forecolor 1 1 1 1
  581.                 setitemcolor        attackcontrolbutton         forecolor 0.64 0.65 1 1
  582.                 setitemcolor        movementcontrolbutton         forecolor 0.64 0.65 1 1
  583.                 setitemcolor        inventorycontrolbutton         forecolor 0.64 0.65 1 1
  584.                 setitemcolor        quickcontrolbutton         forecolor 0.64 0.65 1 1
  585.                 setitemcolor        mousejoystickcontrolbutton     forecolor 0.64 0.65 1 1
  586.                 setitemcolor        othercontrolbutton         forecolor 0.64 0.65 1 1
  587.             }
  588.         }
  589.  
  590.         // attack  button
  591.         itemDef 
  592.         {
  593.             name                attackcontrolbutton_glow
  594.             group                mods
  595.             style                WINDOW_STYLE_SHADER
  596.             rect                120 233 170 30
  597.             background            "gfx/menus/menu_blendbox2"            // Frame around button
  598.             forecolor            1 1 1 1
  599.             visible            0
  600.             // appearance_slot        1
  601.             decoration
  602.         }
  603.  
  604.         itemDef 
  605.         {
  606.             name                attackcontrolbutton
  607.             group                none
  608.             text                @MENUS1_ATTACK_LOOK
  609.             type                ITEM_TYPE_BUTTON
  610.             style                WINDOW_STYLE_EMPTY
  611.             rect                120 233 170 30
  612.             font                3
  613.             textscale            0.9
  614.             textalignx            170
  615.             textaligny            5
  616.             textalign            ITEM_ALIGN_RIGHT
  617.             textstyle            3
  618.             forecolor            0.65 0.65 1 1
  619.             visible            1
  620.             descText            @MENUS0_CONFIGURE_ATTACK_LOOK
  621.  
  622.             mouseEnter 
  623.             { 
  624.                 show            attackcontrolbutton_glow
  625.             }
  626.             mouseExit 
  627.             { 
  628.                 hide            attackcontrolbutton_glow
  629.             }            
  630.             action 
  631.             { 
  632.                 play            sound/interface/button1
  633.                 show            setup_background
  634.                 hide             weaponcontrols
  635.                 hide            forcecontrols
  636.                 show             attackcontrols
  637.                 hide            movecontrols
  638.                 hide            invcontrols
  639.                 hide             quickcontrols
  640.                 hide            joycontrols
  641.                 hide            othercontrols
  642.                 setitemcolor        weaponscontrolbutton         forecolor 0.64 0.65 1 1
  643.                 setitemcolor        forcecontrolbutton         forecolor 0.64 0.65 1 1
  644.                 setitemcolor        attackcontrolbutton         forecolor 1 1 1 1
  645.                 setitemcolor        movementcontrolbutton         forecolor 0.64 0.65 1 1
  646.                 setitemcolor        inventorycontrolbutton         forecolor 0.64 0.65 1 1
  647.                 setitemcolor        quickcontrolbutton         forecolor 0.64 0.65 1 1
  648.                 setitemcolor        mousejoystickcontrolbutton     forecolor 0.64 0.65 1 1
  649.                 setitemcolor        othercontrolbutton         forecolor 0.64 0.65 1 1
  650.             }
  651.         }
  652.  
  653.         // movement  button
  654.         itemDef 
  655.         {
  656.             name                movementcontrolbutton_glow
  657.             group                mods
  658.             style                WINDOW_STYLE_SHADER
  659.             rect                120 263 170 30
  660.             background            "gfx/menus/menu_blendbox2"            // Frame around button
  661.             forecolor            1 1 1 1
  662.             visible            0
  663.             // appearance_slot        1
  664.             decoration
  665.         }
  666.  
  667.         itemDef 
  668.         {
  669.             name                movementcontrolbutton
  670.             group                none
  671.             text                @MENUS0_MOVEMENT
  672.             type                ITEM_TYPE_BUTTON
  673.             style                WINDOW_STYLE_EMPTY
  674.             rect                120 263 170 30
  675.             font                3
  676.             textscale            0.9
  677.             textalignx            170
  678.             textaligny            5
  679.             textalign            ITEM_ALIGN_RIGHT
  680.             textstyle            3
  681.             forecolor            0.65 0.65 1 1
  682.             visible            1
  683.             descText            @MENUS0_CONFIGURE_MOVEMENT_KEYS
  684.  
  685.             mouseEnter 
  686.             { 
  687.                 show            movementcontrolbutton_glow
  688.             }
  689.             mouseExit 
  690.             { 
  691.                 hide            movementcontrolbutton_glow
  692.             }            
  693.             action 
  694.             { 
  695.                 play            sound/interface/button1
  696.                 show            setup_background
  697.                 hide             weaponcontrols
  698.                 hide            forcecontrols
  699.                 hide             attackcontrols
  700.                 show            movecontrols
  701.                 hide            invcontrols
  702.                 hide             quickcontrols
  703.                 hide            joycontrols
  704.                 hide            othercontrols
  705.                 setitemcolor        weaponscontrolbutton         forecolor 0.64 0.65 1 1
  706.                 setitemcolor        forcecontrolbutton         forecolor 0.64 0.65 1 1
  707.                 setitemcolor        attackcontrolbutton         forecolor 0.64 0.65 1 1
  708.                 setitemcolor        movementcontrolbutton         forecolor 1 1 1 1
  709.                 setitemcolor        inventorycontrolbutton         forecolor 0.64 0.65 1 1
  710.                 setitemcolor        quickcontrolbutton         forecolor 0.64 0.65 1 1
  711.                 setitemcolor        mousejoystickcontrolbutton     forecolor 0.64 0.65 1 1
  712.                 setitemcolor        othercontrolbutton         forecolor 0.64 0.65 1 1
  713.             }
  714.         }
  715.  
  716.         // inventory  button
  717.         itemDef 
  718.         {
  719.             name                inventorycontrolbutton_glow
  720.             group                mods
  721.             style                WINDOW_STYLE_SHADER
  722.             rect                120 293 170 30
  723.             background            "gfx/menus/menu_blendbox2"            // Frame around button
  724.             forecolor            1 1 1 1
  725.             visible            0
  726.             // appearance_slot        1
  727.             decoration
  728.         }
  729.  
  730.         itemDef 
  731.         {
  732.             name                inventorycontrolbutton
  733.             group                none
  734.             text                @MENUS1_INVENTORY
  735.             type                ITEM_TYPE_BUTTON
  736.             style                WINDOW_STYLE_EMPTY
  737.             rect                120 293 170 30
  738.             font                3
  739.             textscale            0.9
  740.             textalignx            170
  741.             textaligny            5
  742.             textalign            ITEM_ALIGN_RIGHT
  743.             textstyle            3
  744.             forecolor            0.65 0.65 1 1
  745.             visible            1
  746.             descText            @MENUS0_CONFIGURE_INVENTORY_KEYS
  747.  
  748.             mouseEnter 
  749.             { 
  750.                 show            inventorycontrolbutton_glow
  751.             }
  752.             mouseExit 
  753.             { 
  754.                 hide            inventorycontrolbutton_glow
  755.             }            
  756.             action 
  757.             { 
  758.                 play            sound/interface/button1
  759.                 show            setup_background
  760.                 hide             weaponcontrols
  761.                 hide            forcecontrols
  762.                 hide             attackcontrols
  763.                 hide            movecontrols
  764.                 show            invcontrols
  765.                 hide             quickcontrols
  766.                 hide            joycontrols
  767.                 hide            othercontrols
  768.                 setitemcolor        weaponscontrolbutton         forecolor 0.64 0.65 1 1
  769.                 setitemcolor        forcecontrolbutton         forecolor 0.64 0.65 1 1
  770.                 setitemcolor        attackcontrolbutton         forecolor 0.64 0.65 1 1
  771.                 setitemcolor        movementcontrolbutton         forecolor 0.64 0.65 1 1
  772.                 setitemcolor        inventorycontrolbutton         forecolor 1 1 1 1
  773.                 setitemcolor        quickcontrolbutton         forecolor 0.64 0.65 1 1
  774.                 setitemcolor        mousejoystickcontrolbutton     forecolor 0.64 0.65 1 1
  775.                 setitemcolor        othercontrolbutton         forecolor 0.64 0.65 1 1
  776.             }
  777.         }
  778.  
  779.         // quick  button
  780.         itemDef 
  781.         {
  782.             name                quickcontrolbutton_glow
  783.             group                mods
  784.             style                WINDOW_STYLE_SHADER
  785.             rect                120 323 170 30
  786.             background            "gfx/menus/menu_blendbox2"            // Frame around button
  787.             forecolor            1 1 1 1
  788.             visible            0
  789.             // appearance_slot        1
  790.             decoration
  791.         }
  792.  
  793.         itemDef 
  794.         {
  795.             name                quickcontrolbutton
  796.             group                none
  797.             text                @MENUS1_QUICK_KEYS
  798.             type                ITEM_TYPE_BUTTON
  799.             style                WINDOW_STYLE_EMPTY
  800.             rect                120 323 170 30
  801.             font                3
  802.             textscale            0.9
  803.             textalignx            170
  804.             textaligny            5
  805.             textalign            ITEM_ALIGN_RIGHT
  806.             textstyle            3
  807.             forecolor            0.65 0.65 1 1
  808.             visible            1
  809.             descText            @MENUS1_CONFIGURE_QUICK_KEYS
  810.  
  811.             mouseEnter 
  812.             { 
  813.                 show            quickcontrolbutton_glow
  814.             }
  815.             mouseExit 
  816.             { 
  817.                 hide            quickcontrolbutton_glow
  818.             }            
  819.             action 
  820.             { 
  821.                 play            sound/interface/button1
  822.                 show            setup_background
  823.                 hide             weaponcontrols
  824.                 hide            forcecontrols
  825.                 hide             attackcontrols
  826.                 hide            movecontrols
  827.                 hide            invcontrols
  828.                 show             quickcontrols
  829.                 hide            joycontrols
  830.                 hide            othercontrols
  831.                 setitemcolor        weaponscontrolbutton         forecolor 0.64 0.65 1 1
  832.                 setitemcolor        forcecontrolbutton         forecolor 0.64 0.65 1 1
  833.                 setitemcolor        attackcontrolbutton         forecolor 0.64 0.65 1 1
  834.                 setitemcolor        movementcontrolbutton         forecolor 0.64 0.65 1 1
  835.                 setitemcolor        inventorycontrolbutton         forecolor 0.64 0.65 1 1
  836.                 setitemcolor        quickcontrolbutton         forecolor 1 1 1 1
  837.                 setitemcolor        mousejoystickcontrolbutton     forecolor 0.64 0.65 1 1
  838.                 setitemcolor        othercontrolbutton         forecolor 0.64 0.65 1 1
  839.             }
  840.         }
  841.  
  842.         // mousejoystick  button
  843.         itemDef 
  844.         {
  845.             name                mousejoystickcontrolbutton_glow
  846.             group                mods
  847.             style                WINDOW_STYLE_SHADER
  848.             rect                120 353 170 30
  849.             background            "gfx/menus/menu_blendbox2"            // Frame around button
  850.             forecolor            1 1 1 1
  851.             visible            0
  852.             // appearance_slot        1
  853.             decoration
  854.         }
  855.  
  856.         itemDef 
  857.         {
  858.             name                mousejoystickcontrolbutton
  859.             group                none
  860.             text                @MENUS1_MOUSE_JOYSTICK
  861.             type                ITEM_TYPE_BUTTON
  862.             style                WINDOW_STYLE_EMPTY
  863.             rect                120 353 170 30
  864.             font                3
  865.             textscale            0.9
  866.             textalignx            170
  867.             textaligny            5
  868.             textalign            ITEM_ALIGN_RIGHT
  869.             textstyle            3
  870.             forecolor            0.65 0.65 1 1
  871.             visible            1
  872.             descText            @MENUS0_CONFIGURE_MOUSE_AND_JOYSTICK
  873.  
  874.             mouseEnter 
  875.             { 
  876.                 show            mousejoystickcontrolbutton_glow
  877.             }
  878.             mouseExit 
  879.             { 
  880.                 hide            mousejoystickcontrolbutton_glow
  881.             }            
  882.             action 
  883.             { 
  884.                 play            sound/interface/button1
  885.                 show            setup_background
  886.                 hide             weaponcontrols
  887.                 hide            forcecontrols
  888.                 hide             attackcontrols
  889.                 hide            movecontrols
  890.                 hide            invcontrols
  891.                 hide             quickcontrols
  892.                 show            joycontrols
  893.                 hide            othercontrols
  894.                 setitemcolor        weaponscontrolbutton         forecolor 0.64 0.65 1 1
  895.                 setitemcolor        forcecontrolbutton         forecolor 0.64 0.65 1 1
  896.                 setitemcolor        attackcontrolbutton         forecolor 0.64 0.65 1 1
  897.                 setitemcolor        movementcontrolbutton         forecolor 0.64 0.65 1 1
  898.                 setitemcolor        inventorycontrolbutton         forecolor 0.64 0.65 1 1
  899.                 setitemcolor        quickcontrolbutton         forecolor 0.64 0.65 1 1
  900.                 setitemcolor        mousejoystickcontrolbutton     forecolor 1 1 1 1
  901.                 setitemcolor        othercontrolbutton         forecolor 0.64 0.65 1 1
  902.             }
  903.         }
  904.  
  905.         // other  button
  906.         itemDef 
  907.         {
  908.             name                othercontrolbutton_glow
  909.             group                mods
  910.             style                WINDOW_STYLE_SHADER
  911.             rect                120 383 170 30
  912.             background            "gfx/menus/menu_blendbox2"            // Frame around button
  913.             forecolor            1 1 1 1
  914.             visible            0
  915.             // appearance_slot        1
  916.             decoration
  917.         }
  918.  
  919.         itemDef 
  920.         {
  921.             name                othercontrolbutton
  922.             group                none
  923.             text                @MENUS1_OTHER
  924.             type                ITEM_TYPE_BUTTON
  925.             style                WINDOW_STYLE_EMPTY
  926.             rect                120 383 170 30
  927.             font                3
  928.             textscale            0.9
  929.             textalignx            170
  930.             textaligny            5
  931.             textalign            ITEM_ALIGN_RIGHT
  932.             textstyle            3
  933.             forecolor            0.65 0.65 1 1
  934.             visible            1
  935.             descText            @MENUS0_CONFIGURE_ADDITIONAL
  936.  
  937.             mouseEnter 
  938.             { 
  939.                 show            othercontrolbutton_glow
  940.             }
  941.             mouseExit 
  942.             { 
  943.                 hide            othercontrolbutton_glow
  944.             }            
  945.             action 
  946.             { 
  947.                 play            sound/interface/button1
  948.                 show            setup_background
  949.                 hide             weaponcontrols
  950.                 hide            forcecontrols
  951.                 hide             attackcontrols
  952.                 hide            movecontrols
  953.                 hide            invcontrols
  954.                 hide             quickcontrols
  955.                 hide            joycontrols
  956.                 show            othercontrols
  957.                 setitemcolor        weaponscontrolbutton         forecolor 0.64 0.65 1 1
  958.                 setitemcolor        forcecontrolbutton         forecolor 0.64 0.65 1 1
  959.                 setitemcolor        attackcontrolbutton         forecolor 0.64 0.65 1 1
  960.                 setitemcolor        movementcontrolbutton         forecolor 0.64 0.65 1 1
  961.                 setitemcolor        inventorycontrolbutton         forecolor 0.64 0.65 1 1
  962.                 setitemcolor        quickcontrolbutton         forecolor 0.64 0.65 1 1
  963.                 setitemcolor        mousejoystickcontrolbutton     forecolor 0.64 0.65 1 1
  964.                 setitemcolor        othercontrolbutton         forecolor 1 1 1 1
  965.             }
  966.         }
  967.  
  968.         itemDef 
  969.         {
  970.             name                setup_background
  971.             group                none
  972.             style                WINDOW_STYLE_SHADER
  973.             rect                300 171 300 250    
  974.             background            "gfx/menus/menu_box1"                    // Frame
  975.             forecolor            1 1 1 1
  976.             visible                0
  977.             decoration
  978.         }
  979.  
  980.         //----------------------------------------------------------------------------------------------
  981.         //
  982.         //    HIGHLIGHT BARS
  983.         //
  984.         //----------------------------------------------------------------------------------------------
  985.         itemDef
  986.         {
  987.             name                highlight1
  988.             group                highlights
  989.             style                WINDOW_STYLE_SHADER
  990.             rect                305 171 300 20
  991.             background            "gfx/menus/menu_blendbox"
  992.             forecolor            1 1 1 1
  993.             visible            0
  994.             decoration
  995.         }
  996.         
  997.         itemDef
  998.         {
  999.             name                highlight2
  1000.             group                highlights
  1001.             style                WINDOW_STYLE_SHADER
  1002.             rect                305 191 300 20
  1003.             background            "gfx/menus/menu_blendbox"
  1004.             forecolor            1 1 1 1
  1005.             visible            0
  1006.             decoration
  1007.         }
  1008.         
  1009.         itemDef
  1010.         {
  1011.             name                highlight3
  1012.             group                highlights
  1013.             style                WINDOW_STYLE_SHADER
  1014.             rect                305 211 300 20
  1015.             background            "gfx/menus/menu_blendbox"
  1016.             forecolor            1 1 1 1
  1017.             visible            0
  1018.             decoration
  1019.         }
  1020.         
  1021.         itemDef
  1022.         {
  1023.             name                highlight4
  1024.             group                highlights
  1025.             style                WINDOW_STYLE_SHADER
  1026.             rect                305 231 300 20
  1027.             background            "gfx/menus/menu_blendbox"
  1028.             forecolor            1 1 1 1
  1029.             visible            0
  1030.             decoration
  1031.         }
  1032.         
  1033.         itemDef
  1034.         {
  1035.             name                highlight5
  1036.             group                highlights
  1037.             style                WINDOW_STYLE_SHADER
  1038.             rect                305 251 300 20
  1039.             background            "gfx/menus/menu_blendbox"
  1040.             forecolor            1 1 1 1
  1041.             visible            0
  1042.             decoration
  1043.         }
  1044.         
  1045.         itemDef
  1046.         {
  1047.             name                highlight6
  1048.             group                highlights
  1049.             style                WINDOW_STYLE_SHADER
  1050.             rect                305 271 300 20
  1051.             background            "gfx/menus/menu_blendbox"
  1052.             forecolor            1 1 1 1
  1053.             visible            0
  1054.             decoration
  1055.         }
  1056.         
  1057.         itemDef
  1058.         {
  1059.             name                highlight7
  1060.             group                highlights
  1061.             style                WINDOW_STYLE_SHADER
  1062.             rect                305 291 300 20
  1063.             background            "gfx/menus/menu_blendbox"
  1064.             forecolor            1 1 1 1
  1065.             visible            0
  1066.             decoration
  1067.         }
  1068.         
  1069.         itemDef
  1070.         {
  1071.             name                highlight8
  1072.             group                highlights
  1073.             style                WINDOW_STYLE_SHADER
  1074.             rect                305 311 300 20
  1075.             background            "gfx/menus/menu_blendbox"
  1076.             forecolor            1 1 1 1
  1077.             visible            0
  1078.             decoration
  1079.         }
  1080.         
  1081.         itemDef
  1082.         {
  1083.             name                highlight9
  1084.             group                highlights
  1085.             style                WINDOW_STYLE_SHADER
  1086.             rect                305 331 300 20
  1087.             background            "gfx/menus/menu_blendbox"
  1088.             forecolor            1 1 1 1
  1089.             visible            0
  1090.             decoration
  1091.         }
  1092.         
  1093.         itemDef
  1094.         {
  1095.             name                highlight10
  1096.             group                highlights
  1097.             style                WINDOW_STYLE_SHADER
  1098.             rect                305 351 300 20
  1099.             background            "gfx/menus/menu_blendbox"
  1100.             forecolor            1 1 1 1
  1101.             visible            0
  1102.             decoration
  1103.         }
  1104.         
  1105.         itemDef
  1106.         {
  1107.             name                highlight11
  1108.             group                highlights
  1109.             style                WINDOW_STYLE_SHADER
  1110.             rect                305 371 300 20
  1111.             background            "gfx/menus/menu_blendbox"
  1112.             forecolor            1 1 1 1
  1113.             visible            0
  1114.             decoration
  1115.         }
  1116.         
  1117.         itemDef
  1118.         {
  1119.             name                highlight12
  1120.             group                highlights
  1121.             style                WINDOW_STYLE_SHADER
  1122.             rect                305 391 300 20
  1123.             background            "gfx/menus/menu_blendbox"
  1124.             forecolor            1 1 1 1
  1125.             visible            0
  1126.             decoration
  1127.         }
  1128.         
  1129.  
  1130.  
  1131.         //----------------------------------------------------------------------------------------------
  1132.         //
  1133.         //    WEAPON BINDING
  1134.         //
  1135.         //----------------------------------------------------------------------------------------------
  1136.         itemDef 
  1137.         {
  1138.             name                weapon1
  1139.             group                weaponcontrols
  1140.             type                ITEM_TYPE_BIND
  1141.             text                @MENUS1_STUN_BATON_LIGHTSABER
  1142.             cvar                "weapon 1"
  1143.             rect                305 171 300 20
  1144.             textalign            ITEM_ALIGN_RIGHT
  1145.             textalignx            151
  1146.             textaligny            -2
  1147.             font                2
  1148.             textscale            0.8
  1149.             forecolor            1 1 1 1
  1150.             visible            0
  1151.             // appearance_slot        1
  1152.             descText            @MENUS1_READIES_THE_STUN_BATON
  1153.             action 
  1154.             { 
  1155.                 play            sound/interface/button1
  1156.             }
  1157.  
  1158.             mouseenter 
  1159.             { 
  1160.                 show            highlight1
  1161.                 show            keybindstatus
  1162.             }
  1163.             mouseexit 
  1164.             { 
  1165.                 hide            highlight1
  1166.                 hide            keybindstatus
  1167.             } 
  1168.         }
  1169.  
  1170.         itemDef 
  1171.         {
  1172.             name                weapon3
  1173.             group                weaponcontrols
  1174.             type                ITEM_TYPE_BIND
  1175.             text                @MENUS1_PISTOL
  1176.             cvar                "weapon 2"
  1177.             rect                305 191 300 20
  1178.             textalign            ITEM_ALIGN_RIGHT
  1179.             textalignx            151
  1180.             textaligny            -2
  1181.             font                2
  1182.             textscale            0.8
  1183.             forecolor            1 1 1 1
  1184.             visible            0
  1185.             // appearance_slot        2
  1186.             descText            @MENUS1_READIES_THE_BRYAR_BLASTER
  1187.             action 
  1188.             { 
  1189.                 play            sound/interface/button1
  1190.             }
  1191.  
  1192.             mouseenter 
  1193.             { 
  1194.                 show            highlight2
  1195.                 show            keybindstatus
  1196.             }
  1197.             mouseexit 
  1198.             { 
  1199.                 hide            highlight2
  1200.                 hide            keybindstatus
  1201.             }
  1202.         }
  1203.  
  1204.         itemDef 
  1205.         {
  1206.             name                none
  1207.             group                weaponcontrols
  1208.             type                ITEM_TYPE_BIND
  1209.             text                @MENUS1_RIFLE
  1210.             cvar                "weapon 3"
  1211.             rect                305 211 300 20
  1212.             textalign            ITEM_ALIGN_RIGHT
  1213.             textalignx            151
  1214.             textaligny            -2
  1215.             font                2
  1216.             textscale            0.8
  1217.             forecolor            1 1 1 1
  1218.             visible            0
  1219.             // appearance_slot        3
  1220.             descText            @MENUS1_READIES_THE_E_11_BLASTER
  1221.             action 
  1222.             { 
  1223.                 play            sound/interface/button1
  1224.             }
  1225.     
  1226.             mouseenter 
  1227.             { 
  1228.                 show            highlight3
  1229.                 show            keybindstatus
  1230.             }
  1231.             mouseexit 
  1232.             { 
  1233.                 hide            highlight3
  1234.                 hide            keybindstatus
  1235.             }
  1236.         }
  1237.  
  1238.         itemDef 
  1239.         {
  1240.             name                none
  1241.             group                weaponcontrols
  1242.             type                ITEM_TYPE_BIND
  1243.             text                @MENUS1_DISRUPTOR_RIFLE
  1244.             cvar                "weapon 4"
  1245.             rect                305 231 300 20
  1246.             textalign            ITEM_ALIGN_RIGHT
  1247.             textalignx            151
  1248.             textaligny            -2
  1249.             font                2
  1250.             textscale            0.8
  1251.             forecolor            1 1 1 1
  1252.             visible            0
  1253.             // appearance_slot        4
  1254.             descText            @MENUS1_READIES_THE_TENLOSS_DXR_6
  1255.             action 
  1256.             { 
  1257.                 play            sound/interface/button1
  1258.             }
  1259.  
  1260.             mouseenter 
  1261.             { 
  1262.                 show            highlight4
  1263.                 show            keybindstatus
  1264.             }
  1265.             mouseexit 
  1266.             { 
  1267.                 hide            highlight4
  1268.                 hide            keybindstatus
  1269.             }
  1270.         }
  1271.  
  1272.         itemDef 
  1273.         {
  1274.             name                none
  1275.             group                weaponcontrols
  1276.             type                ITEM_TYPE_BIND
  1277.             text                @MENUS0_BOWCASTER
  1278.             cvar                "weapon 5"
  1279.             rect                305 251 300 20
  1280.             textalign            ITEM_ALIGN_RIGHT
  1281.             textalignx            151
  1282.             textaligny            -2
  1283.             font                2
  1284.             textscale            0.8
  1285.             forecolor            1 1 1 1
  1286.             visible            0
  1287.             // appearance_slot        5
  1288.             descText            @MENUS1_READIES_THE_WOOKIEE_BOWCASTER
  1289.             action 
  1290.             { 
  1291.                 play            sound/interface/button1
  1292.             }
  1293.  
  1294.             mouseenter 
  1295.             { 
  1296.                 show            highlight5
  1297.                 show            keybindstatus
  1298.             }
  1299.             mouseexit 
  1300.             { 
  1301.                 hide            highlight5
  1302.                 hide            keybindstatus
  1303.             }
  1304.         }
  1305.  
  1306.         itemDef 
  1307.         {
  1308.             name                none
  1309.             group                weaponcontrols
  1310.             type                ITEM_TYPE_BIND
  1311.             text                @MENUS1_HEAVY_REPEATER
  1312.             cvar                "weapon 6"
  1313.             rect                305 271 300 20
  1314.             textalign            ITEM_ALIGN_RIGHT
  1315.             textalignx            151
  1316.             textaligny            -2
  1317.             font                2
  1318.             textscale            0.8
  1319.             forecolor            1 1 1 1
  1320.             visible            0
  1321.             // appearance_slot        6
  1322.             descText            @MENUS1_READIES_THE_IMPERIAL
  1323.             action 
  1324.             { 
  1325.                 play            sound/interface/button1
  1326.             }
  1327.  
  1328.             mouseenter 
  1329.             { 
  1330.                 show            highlight6
  1331.                 show            keybindstatus
  1332.             }
  1333.             mouseexit 
  1334.             { 
  1335.                 hide            highlight6
  1336.                 hide            keybindstatus
  1337.             }
  1338.         }
  1339.         itemDef 
  1340.         {
  1341.             name                none
  1342.             group                weaponcontrols
  1343.             type                ITEM_TYPE_BIND
  1344.             text                @MENUS1_DEMP_2
  1345.             cvar                "weapon 7"
  1346.             rect                305 291 300 20
  1347.             textalign            ITEM_ALIGN_RIGHT
  1348.             textalignx            151
  1349.             textaligny            -2
  1350.             font                2
  1351.             textscale            0.8
  1352.             forecolor            1 1 1 1
  1353.             visible            0
  1354.             // appearance_slot        7
  1355.             descText            @MENUS1_READIES_THE_DEMP2_GUN
  1356.             action 
  1357.             { 
  1358.                 play            sound/interface/button1
  1359.             }
  1360.  
  1361.             mouseenter 
  1362.             { 
  1363.                 show            highlight7
  1364.                 show            keybindstatus
  1365.             }
  1366.             mouseexit 
  1367.             { 
  1368.                 hide            highlight7
  1369.                 hide            keybindstatus
  1370.             }
  1371.         }
  1372.         itemDef 
  1373.         {
  1374.             name                none
  1375.             group                weaponcontrols
  1376.             type                ITEM_TYPE_BIND
  1377.             text                @MENUS1_FLECHETTE
  1378.             cvar                "weapon 8"
  1379.             rect                305 311 300 20
  1380.             textalign            ITEM_ALIGN_RIGHT
  1381.             textalignx            151
  1382.             textaligny            -2
  1383.             font                2
  1384.             textscale            0.8
  1385.             forecolor            1 1 1 1
  1386.             visible            0
  1387.             // appearance_slot        8
  1388.             descText            @MENUS1_READIES_THE_GOLAN_ARMS
  1389.             action 
  1390.             { 
  1391.                 play            sound/interface/button1
  1392.             }
  1393.  
  1394.             mouseenter 
  1395.             { 
  1396.                 show            highlight8
  1397.                 show            keybindstatus
  1398.             }
  1399.             mouseexit 
  1400.             { 
  1401.                 hide            keybindstatus
  1402.                 hide            highlight8
  1403.             } 
  1404.         }
  1405.         itemDef 
  1406.         {
  1407.             name                none
  1408.             group                weaponcontrols
  1409.             type                ITEM_TYPE_BIND
  1410.             text                @MENUS1_MERR_SONN
  1411.             cvar                "weapon 9"
  1412.             rect                305 331 300 20
  1413.             textalign            ITEM_ALIGN_RIGHT
  1414.             textalignx            151
  1415.             textaligny            -2
  1416.             font                2
  1417.             textscale            0.8
  1418.             forecolor            1 1 1 1
  1419.             visible            0
  1420.             // appearance_slot        9
  1421.             descText            @MENUS1_READIES_THE_MERR_SONN
  1422.             action 
  1423.             { 
  1424.                 play            sound/interface/button1
  1425.             }
  1426.  
  1427.             mouseenter 
  1428.             { 
  1429.                 show            highlight9
  1430.                 show            keybindstatus
  1431.             }
  1432.             mouseexit 
  1433.             { 
  1434.                 hide            highlight9
  1435.                 hide            keybindstatus
  1436.             } 
  1437.         }
  1438.         itemDef 
  1439.         {
  1440.             name                none
  1441.             group                weaponcontrols
  1442.             type                ITEM_TYPE_BIND
  1443.             text                @MENUS1_THROWABLE_WEAPONS
  1444.             cvar                "weapon 10"
  1445.             rect                305 351 300 20
  1446.             textalign            ITEM_ALIGN_RIGHT
  1447.             textalignx            151
  1448.             textaligny            -2
  1449.             font                2
  1450.             textscale            0.8
  1451.             forecolor            1 1 1 1
  1452.             visible            0
  1453.             // appearance_slot        10
  1454.             descText            @MENUS1_TOGGLES_BETWEEN_DETONATORS
  1455.             action 
  1456.             { 
  1457.                 play            sound/interface/button1
  1458.             }
  1459.  
  1460.             mouseenter 
  1461.             { 
  1462.                 show            highlight10
  1463.                 show            keybindstatus
  1464.             }
  1465.             mouseexit 
  1466.             { 
  1467.                 hide            highlight10
  1468.                 hide            keybindstatus
  1469.             } 
  1470.         }
  1471.  
  1472.         itemDef 
  1473.         {
  1474.             name                none
  1475.             group                weaponcontrols
  1476.             type                ITEM_TYPE_BIND
  1477.             text                @MENUS1_NEXT_WEAPON
  1478.             cvar                "weapnext"
  1479.             rect                305 371 300 20
  1480.             textalign            ITEM_ALIGN_RIGHT
  1481.             textalignx            151
  1482.             textaligny            -2
  1483.             font                2
  1484.             textscale            0.8
  1485.             forecolor            1 1 1 1
  1486.             visible                0
  1487.             // appearance_slot        10
  1488.             descText            @MENUS1_SELECTS_THE_NEXT_WEAPON
  1489.             action 
  1490.             { 
  1491.                 play            sound/interface/button1
  1492.             }
  1493.  
  1494.             mouseenter 
  1495.             { 
  1496.                 show            highlight11
  1497.                 show            keybindstatus
  1498.             }
  1499.             mouseexit 
  1500.             { 
  1501.                 hide            highlight11
  1502.                 hide            keybindstatus
  1503.             } 
  1504.         }
  1505.  
  1506.         itemDef 
  1507.         {
  1508.             name                none
  1509.             group                weaponcontrols
  1510.             type                ITEM_TYPE_BIND
  1511.             text                @MENUS1_PREVIOUS_WEAPON
  1512.             cvar                "weapprev"
  1513.             rect                305 391 300 20
  1514.             textalign            ITEM_ALIGN_RIGHT
  1515.             textalignx            151
  1516.             textaligny            -2
  1517.             font                2
  1518.             textscale            0.8
  1519.             forecolor            1 1 1 1
  1520.             visible                0
  1521.             // appearance_slot        11
  1522.             descText            @MENUS1_SELECTS_THE_PREVIOUS
  1523.             action 
  1524.             { 
  1525.                 play            sound/interface/button1
  1526.             }
  1527.  
  1528.             mouseenter 
  1529.             { 
  1530.                 show            highlight12
  1531.                 show            keybindstatus
  1532.             }
  1533.             mouseexit 
  1534.             { 
  1535.                 hide            highlight12
  1536.                 hide            keybindstatus
  1537.             } 
  1538.         }
  1539.  
  1540.         //----------------------------------------------------------------------------------------------
  1541.         //
  1542.         //    FORCE BINDING
  1543.         //
  1544.         //----------------------------------------------------------------------------------------------
  1545.         itemDef 
  1546.         {
  1547.             name                force2
  1548.             group                forcecontrols
  1549.             type                ITEM_TYPE_BIND
  1550.             text                @MENUS0_FORCE_PUSH
  1551.             cvar                "force_throw"
  1552.             rect                305 171 300 20
  1553.             textalign            ITEM_ALIGN_RIGHT
  1554.             textalignx            151
  1555.             textaligny            -2
  1556.             font                2
  1557.             textscale            0.8
  1558.             forecolor            1 1 1 1
  1559.             visible            0
  1560.             // appearance_slot        1
  1561.             descText            @MENUS1_USES_FORCE_PUSH_ABILITY
  1562.             action 
  1563.             { 
  1564.                 play            sound/interface/button1
  1565.             }
  1566.  
  1567.             mouseenter 
  1568.             { 
  1569.                 show            highlight1
  1570.                 show            keybindstatus
  1571.             }
  1572.             mouseexit 
  1573.             { 
  1574.                 hide            highlight1
  1575.                 hide            keybindstatus
  1576.             }
  1577.         }
  1578.  
  1579.         itemDef 
  1580.         {
  1581.             name                force3
  1582.             group                forcecontrols
  1583.             type                ITEM_TYPE_BIND
  1584.             text                @MENUS0_FORCE_PULL
  1585.             cvar                "force_pull"
  1586.             rect                305 191 300 20
  1587.             textalign            ITEM_ALIGN_RIGHT
  1588.             textalignx            151
  1589.             textaligny            -2
  1590.             font                2
  1591.             textscale            0.8
  1592.             forecolor            1 1 1 1
  1593.             visible            0 
  1594.             // appearance_slot        2
  1595.             descText            @MENUS1_USES_FORCE_PULL_ABILITY
  1596.             action 
  1597.             { 
  1598.                 play            sound/interface/button1
  1599.             }
  1600.  
  1601.             mouseenter 
  1602.             { 
  1603.                 show            highlight2
  1604.                 show            keybindstatus
  1605.             }
  1606.             mouseexit 
  1607.             { 
  1608.                 hide            highlight2
  1609.                 hide            keybindstatus
  1610.             }
  1611.         }
  1612.  
  1613.         itemDef 
  1614.         {
  1615.             name                force4
  1616.             group                forcecontrols
  1617.             type                ITEM_TYPE_BIND
  1618.             text                @MENUS0_FORCE_SPEED
  1619.             cvar                "force_speed"
  1620.             rect                305 211 300 20
  1621.             textalign            ITEM_ALIGN_RIGHT
  1622.             textalignx            151
  1623.             textaligny            -2
  1624.             font                2
  1625.             textscale            0.8
  1626.             forecolor            1 1 1 1
  1627.             visible            0
  1628.             // appearance_slot        3
  1629.             descText            @MENUS1_USES_FORCE_SPEED_ABILITY
  1630.             action 
  1631.             { 
  1632.                 play            sound/interface/button1
  1633.             }
  1634.  
  1635.             mouseenter 
  1636.             { 
  1637.                 show            highlight3
  1638.                 show            keybindstatus
  1639.             }
  1640.             mouseexit 
  1641.             { 
  1642.                 hide            highlight3
  1643.                 hide            keybindstatus
  1644.             }
  1645.         }
  1646.  
  1647.         itemDef 
  1648.         {
  1649.             name                force5
  1650.             group                forcecontrols
  1651.             type                ITEM_TYPE_BIND
  1652.             text                @MENUS0_FORCE_HEAL
  1653.             cvar                "force_heal"
  1654.             rect                305 231 300 20
  1655.             textalign            ITEM_ALIGN_RIGHT
  1656.             textalignx            151
  1657.             textaligny            -2
  1658.             font                2
  1659.             textscale            0.8
  1660.             forecolor            1 1 1 1
  1661.             visible            0
  1662.             // appearance_slot        4
  1663.             descText            @MENUS1_USES_FORCE_HEAL_ABILITY
  1664.             action 
  1665.             { 
  1666.                 play            sound/interface/button1
  1667.             }
  1668.  
  1669.             mouseenter 
  1670.             { 
  1671.                 show            highlight4
  1672.                 show            keybindstatus
  1673.             }
  1674.             mouseexit 
  1675.             { 
  1676.                 hide            highlight4
  1677.                 hide            keybindstatus
  1678.             }
  1679.         }
  1680.  
  1681.         itemDef 
  1682.         {
  1683.             name                force6
  1684.             group                forcecontrols
  1685.             type                ITEM_TYPE_BIND
  1686.             text                @MENUS0_FORCE_GRIP
  1687.             cvar                "+force_grip"
  1688.             rect                305 251 300 20
  1689.             textalign            ITEM_ALIGN_RIGHT
  1690.             textalignx            151
  1691.             textaligny            -2
  1692.             font                2
  1693.             textscale            0.8
  1694.             forecolor            1 1 1 1
  1695.             visible            0
  1696.             // appearance_slot        5
  1697.             descText            @MENUS2_USES_FORCE_GRIP_ABILITY
  1698.             action 
  1699.             { 
  1700.                 play            sound/interface/button1
  1701.             }
  1702.  
  1703.             mouseenter 
  1704.             { 
  1705.                 show            highlight5
  1706.                 show            keybindstatus
  1707.             }
  1708.             mouseexit 
  1709.             { 
  1710.                 hide            highlight5
  1711.                 hide            keybindstatus
  1712.             }
  1713.         }
  1714.  
  1715.         itemDef 
  1716.         {
  1717.             name                force7
  1718.             group                forcecontrols
  1719.             type                ITEM_TYPE_BIND
  1720.             text                @MENUS0_FORCE_MINDTRICK
  1721.             cvar                "force_distract"
  1722.             rect                305 271 300 20
  1723.             textalign            ITEM_ALIGN_RIGHT
  1724.             textalignx            151
  1725.             textaligny            -2
  1726.             font                2
  1727.             textscale            0.8
  1728.             forecolor            1 1 1 1
  1729.             visible            0
  1730.             // appearance_slot        6
  1731.             descText            @MENUS2_USES_JEDI_MIND_TRICK
  1732.             action 
  1733.             { 
  1734.                 play            sound/interface/button1
  1735.             }
  1736.  
  1737.             mouseenter 
  1738.             { 
  1739.                 show            highlight6
  1740.                 show            keybindstatus
  1741.             }
  1742.             mouseexit 
  1743.             { 
  1744.                 hide            highlight6
  1745.                 hide            keybindstatus
  1746.             }
  1747.         }
  1748.  
  1749.         itemDef 
  1750.         {
  1751.             name                force8
  1752.             group                forcecontrols
  1753.             type                ITEM_TYPE_BIND
  1754.             text                @MENUS0_FORCE_LIGHTNING
  1755.             cvar                "+force_lightning"
  1756.             rect                305 291 300 20
  1757.             textalign            ITEM_ALIGN_RIGHT
  1758.             textalignx            151
  1759.             textaligny            -2
  1760.             font                2
  1761.             textscale            0.8
  1762.             forecolor            1 1 1 1
  1763.             visible            0
  1764.             // appearance_slot        7
  1765.             descText            @MENUS2_USES_FORCE_LIGHTNING
  1766.             action 
  1767.             { 
  1768.                 play            sound/interface/button1
  1769.             }
  1770.  
  1771.             mouseenter 
  1772.             { 
  1773.                 show            highlight7
  1774.                 show            keybindstatus
  1775.             }
  1776.             mouseexit 
  1777.             { 
  1778.                 hide            highlight7
  1779.                 hide            keybindstatus
  1780.             }
  1781.         }
  1782.  
  1783.         itemDef 
  1784.         {
  1785.             name                forcekeys
  1786.             group                forcecontrols
  1787.             type                ITEM_TYPE_BIND
  1788.             text                @MENUS1_USE_FORCE_POWER
  1789.             cvar                "+useforce"
  1790.             rect                305 331 300 20
  1791.             textalign            ITEM_ALIGN_RIGHT
  1792.             textalignx            151
  1793.             textaligny            -2
  1794.             font                2
  1795.             textscale            0.8
  1796.             forecolor            1 1 1 1
  1797.             visible            0 
  1798.             // appearance_slot        8
  1799.             descText            @MENUS1_USES_CURRENTLY_SELECTED
  1800.             action 
  1801.             { 
  1802.                 play            sound/interface/button1
  1803.             }
  1804.  
  1805.             mouseenter 
  1806.             { 
  1807.                 show            highlight9
  1808.                 show            keybindstatus
  1809.             }
  1810.             mouseexit 
  1811.             { 
  1812.                 hide            highlight9
  1813.                 hide            keybindstatus
  1814.             }
  1815.         }
  1816.  
  1817.         itemDef 
  1818.         {
  1819.             name                forcekeys
  1820.             group                forcecontrols
  1821.             type                ITEM_TYPE_BIND
  1822.             text                @MENUS1_FORCE_NEXT
  1823.             cvar                "forcenext"
  1824.             rect                305 351 300 20
  1825.             textalign            ITEM_ALIGN_RIGHT
  1826.             textalignx            151
  1827.             textaligny            -2
  1828.             font                2
  1829.             textscale            0.8
  1830.             forecolor            1 1 1 1
  1831.             visible            0 
  1832.             // appearance_slot        9
  1833.             descText            @MENUS1_SELECTS_NEXT_AVAILABLE
  1834.             action 
  1835.             { 
  1836.                 play            sound/interface/button1
  1837.             }
  1838.  
  1839.             mouseenter 
  1840.             { 
  1841.                 show            highlight10
  1842.                 show            keybindstatus
  1843.             }
  1844.             mouseexit 
  1845.             { 
  1846.                 hide            highlight10
  1847.                 hide            keybindstatus
  1848.             }
  1849.         }
  1850.  
  1851.         itemDef 
  1852.         {
  1853.             name                forcekeys
  1854.             group                forcecontrols
  1855.             type                ITEM_TYPE_BIND
  1856.             text                @MENUS1_FORCE_PREVIOUS
  1857.             cvar                "forceprev"
  1858.             rect                305 371 300 20
  1859.             textalign            ITEM_ALIGN_RIGHT
  1860.             textalignx            151
  1861.             textaligny            -2
  1862.             font                2
  1863.             textscale            0.8
  1864.             forecolor            1 1 1 1
  1865.             visible            0 
  1866.             // appearance_slot        10
  1867.             descText            @MENUS1_SELECTS_PREVIOUS_AVAILABLE
  1868.             action 
  1869.             { 
  1870.                 play            sound/interface/button1
  1871.             }
  1872.  
  1873.             mouseenter 
  1874.             { 
  1875.                 show            highlight11
  1876.                 show            keybindstatus
  1877.             }
  1878.             mouseexit 
  1879.             { 
  1880.                 hide            highlight11
  1881.                 hide            keybindstatus
  1882.             }
  1883.         }
  1884.  
  1885.  
  1886.         //----------------------------------------------------------------------------------------------
  1887.         //
  1888.         //    ATTACK/LOOK BINDING
  1889.         //
  1890.         //----------------------------------------------------------------------------------------------
  1891.         itemDef 
  1892.         {
  1893.             name                attacklook1
  1894.             group                attackcontrols
  1895.             type                ITEM_TYPE_BIND
  1896.             text                @MENUS1_ATTACK
  1897.             cvar                "+attack"
  1898.             rect                305 171 300 20
  1899.             textalign            ITEM_ALIGN_RIGHT
  1900.             textalignx            151
  1901.             textaligny            -2
  1902.             font                2
  1903.             textscale            0.8        
  1904.             forecolor            1 1 1 1
  1905.             visible            0
  1906.             // appearance_slot        1
  1907.             descText            @MENUS1_ATTACKS_WITH_READIED
  1908.             action 
  1909.             { 
  1910.                 play            sound/interface/button1
  1911.             }
  1912.  
  1913.             mouseenter 
  1914.             {
  1915.                 show            highlight1
  1916.                 show            keybindstatus
  1917.             }
  1918.             mouseexit 
  1919.             { 
  1920.                 hide            highlight1
  1921.                 hide            keybindstatus
  1922.             }
  1923.         }
  1924.  
  1925.         itemDef 
  1926.         {
  1927.             name                attacklook2
  1928.             group                attackcontrols
  1929.             type                ITEM_TYPE_BIND
  1930.             text                @MENUS1_ALT_ATTACK
  1931.             cvar                "+altattack"
  1932.             rect                305 191 300 20
  1933.             textalign            ITEM_ALIGN_RIGHT
  1934.             textalignx            151
  1935.             textaligny            -2
  1936.             font                2
  1937.             textscale            0.8        
  1938.             forecolor            1 1 1 1
  1939.             visible            0
  1940.             // appearance_slot        2
  1941.             descText            @MENUS1_ATTACKS_WITH_ALTERNATE
  1942.             action 
  1943.             { 
  1944.                 play            sound/interface/button1
  1945.             }
  1946.  
  1947.             mouseenter 
  1948.             { 
  1949.                 show            highlight2
  1950.                 show            keybindstatus
  1951.             }
  1952.             mouseexit 
  1953.             { 
  1954.                 hide            highlight2
  1955.                 hide            keybindstatus
  1956.             }
  1957.         }
  1958.  
  1959.         itemDef 
  1960.         {
  1961.             name                attacksaber
  1962.             group                attackcontrols
  1963.             type                ITEM_TYPE_BIND
  1964.             text                @MENUS1_LIGHTSABER_STYLE
  1965.             cvar                "saberAttackCycle"
  1966.             rect                305 211 300 20
  1967.             textalign            ITEM_ALIGN_RIGHT
  1968.             textalignx            151
  1969.             textaligny            -2
  1970.             font                2
  1971.             textscale            0.8        
  1972.             forecolor            1 1 1 1
  1973.             visible            0
  1974.             // appearance_slot        2
  1975.             descText            @MENUS1_CYCLES_BETWEEN_AVAILABLE
  1976.             action 
  1977.             { 
  1978.                 play            sound/interface/button1
  1979.             }
  1980.  
  1981.             mouseenter 
  1982.             { 
  1983.                 show            highlight3
  1984.                 show            keybindstatus
  1985.             }
  1986.             mouseexit 
  1987.             { 
  1988.                 hide            highlight3
  1989.                 hide            keybindstatus
  1990.             }
  1991.         }
  1992.  
  1993.         itemDef 
  1994.         {
  1995.             name                attacklook3
  1996.             group                attackcontrols
  1997.             type                ITEM_TYPE_BIND
  1998.             text                @MENUS1_USE
  1999.             cvar                "+use"
  2000.             rect                305 251 300 20
  2001.             textalign            ITEM_ALIGN_RIGHT
  2002.             textalignx            151
  2003.             textaligny            -2
  2004.             font                2
  2005.             textscale            0.8        
  2006.             forecolor            1 1 1 1
  2007.             visible            0 
  2008.             // appearance_slot        3
  2009.             descText            @MENUS1_ACTIVATES_WORLD_DEVICES
  2010.             action 
  2011.             { 
  2012.                 play            sound/interface/button1
  2013.             }
  2014.  
  2015.             mouseenter 
  2016.             { 
  2017.                 show            highlight5
  2018.                 show            keybindstatus
  2019.             }
  2020.             mouseexit 
  2021.             { 
  2022.                 hide            highlight5
  2023.                 hide            keybindstatus
  2024.             }
  2025.         }
  2026.  
  2027.         itemDef 
  2028.         {
  2029.             name                attacklook4
  2030.             group                attackcontrols
  2031.             type                ITEM_TYPE_BIND
  2032.             text                @MENUS0_LOOK_UP
  2033.             cvar                "+lookup"
  2034.             rect                305 291 300 20
  2035.             textalign            ITEM_ALIGN_RIGHT
  2036.             textalignx            151
  2037.             textaligny            -2
  2038.             font                2
  2039.             textscale            0.8        
  2040.             forecolor            1 1 1 1
  2041.             visible            0
  2042.             // appearance_slot        4
  2043.             descText            @MENUS1_TILTS_VIEW_UPWARDS
  2044.             action 
  2045.             { 
  2046.                 play            sound/interface/button1
  2047.             }
  2048.  
  2049.             mouseenter 
  2050.             { 
  2051.                 show            highlight7
  2052.                 show            keybindstatus
  2053.             }
  2054.             mouseexit 
  2055.             { 
  2056.                 hide            highlight7
  2057.                 hide            keybindstatus
  2058.             }
  2059.         }
  2060.  
  2061.  
  2062.         itemDef 
  2063.         {
  2064.             name                attacklook5
  2065.             group                attackcontrols
  2066.             type                ITEM_TYPE_BIND
  2067.             text                @MENUS0_LOOK_DOWN
  2068.             cvar                "+lookdown"
  2069.             rect                305 311 300 20
  2070.             textalign            ITEM_ALIGN_RIGHT
  2071.             textalignx            151
  2072.             textaligny            -2
  2073.             font                2
  2074.             textscale            0.8        
  2075.             forecolor            1 1 1 1
  2076.             visible            0
  2077.             // appearance_slot        5
  2078.             descText            @MENUS1_TILTS_VIEW_DOWNWARDS
  2079.             action 
  2080.             { 
  2081.                 play            sound/interface/button1
  2082.             }
  2083.  
  2084.             mouseenter 
  2085.             { 
  2086.                 show            highlight8
  2087.                 show            keybindstatus
  2088.             }
  2089.             mouseexit 
  2090.             { 
  2091.                 hide            highlight8
  2092.                 hide            keybindstatus
  2093.             }
  2094.         }
  2095.  
  2096.         itemDef 
  2097.         {
  2098.             name                attacklook
  2099.             group                attackcontrols
  2100.             type                ITEM_TYPE_BIND
  2101.             text                @MENUS1_MOUSE_LOOK
  2102.             cvar                "+mlook"
  2103.             rect                305 331 300 20
  2104.             textalign            ITEM_ALIGN_RIGHT
  2105.             textalignx            151
  2106.             textaligny            -2
  2107.             font                2
  2108.             textscale            0.8        
  2109.             forecolor            1 1 1 1
  2110.             visible            0
  2111.             // appearance_slot        6
  2112.             descText            @MENUS1_IF_HELD_ALLOWS_PLAYER
  2113.             action 
  2114.             { 
  2115.                 play            sound/interface/button1
  2116.             }
  2117.  
  2118.             mouseenter 
  2119.             { 
  2120.                 show            highlight9
  2121.                 show            keybindstatus
  2122.             }
  2123.             mouseexit 
  2124.             { 
  2125.                 hide            highlight9
  2126.                 hide            keybindstatus
  2127.             }
  2128.         }
  2129.  
  2130.         itemDef 
  2131.         {
  2132.             name                attacklook
  2133.             group                attackcontrols
  2134.             type                ITEM_TYPE_BIND
  2135.             text                @MENUS1_CENTERVIEW
  2136.             cvar                "centerview"
  2137.             rect                305 351 300 20
  2138.             textalign            ITEM_ALIGN_RIGHT
  2139.             textalignx            151
  2140.             textaligny            -2
  2141.             font                2
  2142.             textscale            0.8        
  2143.             forecolor            1 1 1 1
  2144.             visible            0
  2145.             // appearance_slot        6
  2146.             descText            @MENUS1_RETURNS_VIEW_TO_HORIZONTAL
  2147.             action 
  2148.             { 
  2149.                 play            sound/interface/button1
  2150.             }
  2151.  
  2152.             mouseenter 
  2153.             { 
  2154.                 show            highlight10
  2155.                 show            keybindstatus
  2156.             }
  2157.             mouseexit 
  2158.             { 
  2159.                 hide            highlight10
  2160.                 hide            keybindstatus
  2161.             }
  2162.         }
  2163.  
  2164.         itemDef 
  2165.         {
  2166.             name                attacklook
  2167.             group                attackcontrols
  2168.             type                ITEM_TYPE_BIND
  2169.             text                @MENUS0_3RD_PERSON
  2170.             cvar                "cg_thirdperson !"
  2171.             rect                305 391 300 20
  2172.             textalign            ITEM_ALIGN_RIGHT
  2173.             textalignx            151
  2174.             textaligny            -2
  2175.             font                2
  2176.             textscale            0.8        
  2177.             forecolor            1 1 1 1
  2178.             visible            0
  2179.             // appearance_slot        6
  2180.             descText            @MENUS1_CHANGES_VIEW_BETWEEN
  2181.             action 
  2182.             { 
  2183.                 play            sound/interface/button1
  2184.             }
  2185.  
  2186.             mouseenter 
  2187.             { 
  2188.                 show            highlight12
  2189.                 show            keybindstatus
  2190.             }
  2191.             mouseexit 
  2192.             { 
  2193.                 hide            highlight12
  2194.                 hide            keybindstatus
  2195.             }
  2196.         }
  2197.  
  2198.  
  2199. // This key is no longer being used.
  2200.         itemDef 
  2201.         {
  2202.             name                quickkeys
  2203.             group                attackcontrols_obsolete
  2204.             type                ITEM_TYPE_BIND
  2205.             text                @MENUS1_RETURN_TO_VIEW
  2206.             cvar                "exitview"
  2207.             rect                305 371 300 20
  2208.             textalign            ITEM_ALIGN_RIGHT
  2209.             textalignx            151
  2210.             textaligny            -2
  2211.             font                2
  2212.             textscale            0.8        
  2213.             forecolor            1 1 1 1
  2214.             visible            0
  2215.             // appearance_slot        7
  2216.             descText            @MENUS2_RESTORES_VIEW_WHEN_OPERATING
  2217.             action 
  2218.             { 
  2219.                 play            sound/interface/button1
  2220.             }
  2221.  
  2222.             mouseenter 
  2223.             { 
  2224.                 show            highlight11
  2225.                 show            keybindstatus
  2226.             }
  2227.             mouseexit 
  2228.             { 
  2229.                 hide            highlight11
  2230.                 hide            keybindstatus
  2231.             }
  2232.         }
  2233.  
  2234.         //----------------------------------------------------------------------------------------------
  2235.         //
  2236.         //    MOVEMENT BINDING
  2237.         //
  2238.         //----------------------------------------------------------------------------------------------
  2239.         itemDef 
  2240.         {
  2241.             name                movement1
  2242.             group                movecontrols
  2243.             type                ITEM_TYPE_BIND
  2244.             text                @MENUS1_WALK_FORWARD
  2245.             cvar                "+forward"
  2246.             rect                305 171 300 20
  2247.             textalign            ITEM_ALIGN_RIGHT
  2248.             textalignx            151 
  2249.             textaligny            -2
  2250.             font                2
  2251.             textscale            0.8
  2252.             forecolor            1 1 1 1
  2253.             visible            0
  2254.             // appearance_slot        1
  2255.             descText            @MENUS1_MOVES_PLAYER_FORWARD
  2256.             action 
  2257.             { 
  2258.                 play            sound/interface/button1
  2259.             }
  2260.  
  2261.             mouseenter 
  2262.             {
  2263.                 show            highlight1
  2264.                 show            keybindstatus
  2265.             }
  2266.             mouseexit 
  2267.             { 
  2268.                 hide            highlight1
  2269.                 hide            keybindstatus
  2270.             }
  2271.         }
  2272.  
  2273.  
  2274.         itemDef 
  2275.         {
  2276.             name                movement2
  2277.             group                movecontrols
  2278.             type                ITEM_TYPE_BIND
  2279.             text                @MENUS1_BACKPEDAL
  2280.             cvar                "+back"
  2281.             rect                305 191 300 20
  2282.             textalign            ITEM_ALIGN_RIGHT
  2283.             textalignx            151 
  2284.             textaligny            -2
  2285.             font                2
  2286.             textscale            0.8
  2287.             forecolor            1 1 1 1
  2288.             visible            0
  2289.             // appearance_slot        2
  2290.             descText            @MENUS1_MOVES_PLAYER_BACKWARD
  2291.             action 
  2292.             { 
  2293.                 play            sound/interface/button1
  2294.             }
  2295.  
  2296.             mouseenter 
  2297.             {
  2298.                 show            highlight2
  2299.                 show            keybindstatus
  2300.             }
  2301.             mouseexit 
  2302.             { 
  2303.                 hide            highlight2
  2304.                 hide            keybindstatus
  2305.             }
  2306.         }
  2307.  
  2308.         itemDef 
  2309.         {
  2310.             name                movement3
  2311.             group                movecontrols
  2312.             type                ITEM_TYPE_BIND
  2313.             text                @MENUS1_TURN_LEFT
  2314.             cvar                "+left"
  2315.             rect                305 211 300 20
  2316.             textalign            ITEM_ALIGN_RIGHT
  2317.             textalignx            151 
  2318.             textaligny            -2
  2319.             font                2
  2320.             textscale            0.8
  2321.             forecolor            1 1 1 1
  2322.             visible            0
  2323.             // appearance_slot        3
  2324.             descText            @MENUS1_ROTATES_PLAYER_LEFT
  2325.             action 
  2326.             { 
  2327.                 play            sound/interface/button1
  2328.             }
  2329.  
  2330.             mouseenter 
  2331.             {
  2332.                 show            highlight3
  2333.                 show            keybindstatus
  2334.             }
  2335.             mouseexit 
  2336.             { 
  2337.                 hide            highlight3
  2338.                 hide            keybindstatus
  2339.             }
  2340.         }
  2341.  
  2342.         itemDef 
  2343.         {
  2344.             name                movement4
  2345.             group                movecontrols
  2346.             type                ITEM_TYPE_BIND
  2347.             text                @MENUS1_TURN_RIGHT
  2348.             cvar                "+right"
  2349.             rect                305 231 300 20
  2350.             textalign            ITEM_ALIGN_RIGHT
  2351.             textalignx            151 
  2352.             textaligny            -2
  2353.             font                2
  2354.             textscale            0.8
  2355.             forecolor            1 1 1 1
  2356.             visible            0 
  2357.             // appearance_slot        4
  2358.             descText            @MENUS1_ROTATES_PLAYER_RIGHT
  2359.             action 
  2360.             { 
  2361.                 play            sound/interface/button1
  2362.             }
  2363.  
  2364.             mouseenter 
  2365.             {
  2366.                 show            highlight4
  2367.                 show            keybindstatus
  2368.             }
  2369.             mouseexit 
  2370.             { 
  2371.                 hide            highlight4
  2372.                 hide            keybindstatus
  2373.             }
  2374.         }
  2375.  
  2376.         itemDef 
  2377.         {
  2378.             name                movement
  2379.             group                movecontrols
  2380.             type                ITEM_TYPE_BIND
  2381.             text                @MENUS1_RUN_WALK
  2382.             cvar                "+speed"
  2383.             rect                305 251 300 20
  2384.             textalign            ITEM_ALIGN_RIGHT
  2385.             textalignx            151 
  2386.             textaligny            -2
  2387.             font                2
  2388.             textscale            0.8
  2389.             forecolor            1 1 1 1
  2390.             visible            0 
  2391.             // appearance_slot        5
  2392.             descText            @MENUS1_IF_HELD_TOGGLES_BETWEEN
  2393.             action 
  2394.             { 
  2395.                 play            sound/interface/button1
  2396.             }
  2397.  
  2398.             mouseenter 
  2399.             {
  2400.                 show            highlight5
  2401.                 show            keybindstatus
  2402.             }
  2403.             mouseexit 
  2404.             { 
  2405.                 hide            highlight5
  2406.                 hide            keybindstatus
  2407.             }
  2408.         }
  2409.  
  2410.         itemDef 
  2411.         {
  2412.             name                movement
  2413.             group                movecontrols
  2414.             type                ITEM_TYPE_BIND
  2415.             text                @MENUS1_STEP_LEFT
  2416.             cvar                "+moveleft"
  2417.             rect                305 271 300 20
  2418.             textalign            ITEM_ALIGN_RIGHT
  2419.             textalignx            151 
  2420.             textaligny            -2
  2421.             font                2
  2422.             textscale            0.8
  2423.             forecolor            1 1 1 1
  2424.             visible            0
  2425.             // appearance_slot        6
  2426.             descText            @MENUS1_STEPS_PLAYER_TO_THE_LEFT
  2427.             action 
  2428.             { 
  2429.                 play            sound/interface/button1
  2430.             }
  2431.  
  2432.             mouseenter 
  2433.             {
  2434.                 show            highlight6
  2435.                 show            keybindstatus
  2436.             }
  2437.             mouseexit 
  2438.             { 
  2439.                 hide            highlight6
  2440.                 hide            keybindstatus
  2441.             }
  2442.         }
  2443.  
  2444.         itemDef 
  2445.         {
  2446.             name                movement
  2447.             group                movecontrols
  2448.             type                ITEM_TYPE_BIND
  2449.             text                @MENUS1_STEP_RIGHT
  2450.             cvar                "+moveright"
  2451.             rect                305 291 300 20
  2452.             textalign            ITEM_ALIGN_RIGHT
  2453.             textalignx            151 
  2454.             textaligny            -2
  2455.             font                2
  2456.             textscale            0.8
  2457.             forecolor            1 1 1 1
  2458.             visible            0
  2459.             // appearance_slot        7
  2460.             descText            @MENUS1_STEPS_PLAYER_TO_THE_RIGHT
  2461.             action 
  2462.             { 
  2463.                 play            sound/interface/button1
  2464.             }
  2465.  
  2466.             mouseenter 
  2467.             {
  2468.                 show            highlight7
  2469.                 show            keybindstatus
  2470.             }
  2471.             mouseexit 
  2472.             { 
  2473.                 hide            highlight7
  2474.                 hide            keybindstatus
  2475.             }
  2476.         }
  2477.  
  2478.         itemDef 
  2479.         {
  2480.             name                movement
  2481.             group                movecontrols
  2482.             type                ITEM_TYPE_BIND
  2483.             text                @MENUS1_SIDESTEP_TURN
  2484.             cvar                "+strafe"
  2485.             rect                305 311 300 20
  2486.             textalign            ITEM_ALIGN_RIGHT
  2487.             textalignx            151 
  2488.             textaligny            -2
  2489.             font                2
  2490.             textscale            0.8
  2491.             forecolor            1 1 1 1
  2492.             visible            0 
  2493.             // appearance_slot        8
  2494.             descText            @MENUS1_HELD_ALLOWS_PLAYER_TO
  2495.             action 
  2496.             { 
  2497.                 play            sound/interface/button1
  2498.             }
  2499.  
  2500.             mouseenter 
  2501.             {
  2502.                 show            highlight8
  2503.                 show            keybindstatus
  2504.             }
  2505.             mouseexit 
  2506.             { 
  2507.                 hide            highlight8
  2508.                 hide            keybindstatus
  2509.             }
  2510.         }
  2511.  
  2512.         itemDef 
  2513.         {
  2514.             name                movement
  2515.             group                movecontrols
  2516.             type                ITEM_TYPE_BIND
  2517.             text                @MENUS1_UP_JUMP
  2518.             cvar                "+moveup"
  2519.             rect                305 331 300 20
  2520.             textalign            ITEM_ALIGN_RIGHT
  2521.             textalignx            151 
  2522.             textaligny            -2
  2523.             font                2
  2524.             textscale            0.8
  2525.             forecolor            1 1 1 1
  2526.             visible            0
  2527.             // appearance_slot        9
  2528.             descText            @MENUS1_MAKES_PLAYER_JUMP_IF
  2529.             action 
  2530.             { 
  2531.                 play            sound/interface/button1
  2532.             }
  2533.  
  2534.             mouseenter 
  2535.             {
  2536.                 show            highlight9
  2537.                 show            keybindstatus
  2538.             }
  2539.             mouseexit 
  2540.             { 
  2541.                 hide            highlight9
  2542.                 hide            keybindstatus
  2543.             }
  2544.         }
  2545.  
  2546.         itemDef 
  2547.         {
  2548.             name                movement
  2549.             group                movecontrols
  2550.             type                ITEM_TYPE_BIND
  2551.             text                @MENUS1_DOWN_CROUCH
  2552.             cvar                "+movedown"
  2553.             rect                305 351 300 20
  2554.             textalign            ITEM_ALIGN_RIGHT
  2555.             textalignx            151 
  2556.             textaligny            -2
  2557.             font                2
  2558.             textscale            0.8
  2559.             forecolor            1 1 1 1
  2560.             visible            0
  2561.             // appearance_slot        10
  2562.             descText            @MENUS1_MAKES_PLAYER_CROUCH_TO
  2563.             action 
  2564.             { 
  2565.                 play            sound/interface/button1
  2566.             }
  2567.  
  2568.             mouseenter 
  2569.             {
  2570.                 show            highlight10
  2571.                 show            keybindstatus
  2572.             }
  2573.             mouseexit 
  2574.             { 
  2575.                 hide            highlight10
  2576.                 hide            keybindstatus
  2577.             }
  2578.         }
  2579.  
  2580.         itemDef 
  2581.         {
  2582.             name                movement
  2583.             group                movecontrols
  2584.             text                @MENUS2_HOLD_USE_PLUS_STRAFE
  2585.             font                2
  2586.             textscale            0.8
  2587.             rect                305 391 300 20
  2588.             textalign            ITEM_ALIGN_CENTER
  2589.             textalignx            150 
  2590.             textaligny            -2
  2591.             forecolor            0.7 0.7 0.7 1
  2592.             visible            0
  2593.             // appearance_slot        11
  2594.             decoration
  2595.         }
  2596.  
  2597.         //----------------------------------------------------------------------------------------------
  2598.         //
  2599.         //    INVENTORY BINDING
  2600.         //
  2601.         //----------------------------------------------------------------------------------------------
  2602.         itemDef 
  2603.         {
  2604.             name                inventory1
  2605.             group                invcontrols
  2606.             type                ITEM_TYPE_BIND
  2607.             text                @MENUS1_ELECTROBINOCULARS
  2608.             cvar                "zoom"
  2609.             rect                305 191 300 20
  2610.             textalign            ITEM_ALIGN_RIGHT
  2611.             textalignx            151
  2612.             textaligny            -2
  2613.             font                2
  2614.             textscale            0.8 
  2615.             forecolor            1 1 1 1
  2616.             visible            0
  2617.             // appearance_slot        1
  2618.             descText            @MENUS1_ACTIVATES_NEURO_SAAV
  2619.             action 
  2620.             { 
  2621.                 play            sound/interface/button1
  2622.             }
  2623.  
  2624.             mouseenter 
  2625.             { 
  2626.                 show            highlight2
  2627.                 show            keybindstatus
  2628.             }
  2629.             mouseexit 
  2630.             { 
  2631.                 hide            highlight2
  2632.                 hide            keybindstatus
  2633.             } 
  2634.         }
  2635.  
  2636.         itemDef 
  2637.         {
  2638.             name                inventory2
  2639.             group                invcontrols
  2640.             type                ITEM_TYPE_BIND
  2641.             text                @MENUS1_BACTA_CANISTER
  2642.             cvar                "use_bacta"
  2643.             rect                305 211 300 20
  2644.             textalign            ITEM_ALIGN_RIGHT
  2645.             textalignx            151
  2646.             textaligny            -2
  2647.             font                2
  2648.             textscale            0.8 
  2649.             forecolor            1 1 1 1
  2650.             visible            0
  2651.             // appearance_slot        2
  2652.             descText            @MENUS1_ACTIVATES_BIOTECH_BACTA
  2653.             action 
  2654.             { 
  2655.                 play            sound/interface/button1
  2656.             }
  2657.  
  2658.             mouseenter 
  2659.             { 
  2660.                 show            highlight3
  2661.                 show            keybindstatus
  2662.             }
  2663.             mouseexit 
  2664.             { 
  2665.                 hide            highlight3
  2666.                 hide            keybindstatus
  2667.             } 
  2668.         }
  2669.  
  2670.         itemDef 
  2671.         {
  2672.             name                inventory3
  2673.             group                invcontrols
  2674.             type                ITEM_TYPE_BIND
  2675.             text                @MENUS0_SEEKER
  2676.             cvar                use_seeker
  2677.             rect                305 231 300 20
  2678.             textalign            ITEM_ALIGN_RIGHT
  2679.             textalignx            151
  2680.             textaligny            -2
  2681.             font                2
  2682.             textscale            0.8 
  2683.             forecolor            1 1 1 1
  2684.             visible            0
  2685.             // appearance_slot        3
  2686.             descText            @MENUS1_ACTIVATES_ARAKYD_MARK
  2687.             action 
  2688.             { 
  2689.                 play            sound/interface/button1
  2690.             }
  2691.  
  2692.             mouseenter 
  2693.             { 
  2694.                 show            highlight4
  2695.                 show            keybindstatus
  2696.             }
  2697.             mouseexit 
  2698.             { 
  2699.                 hide            highlight4
  2700.                 hide            keybindstatus
  2701.             } 
  2702.         }
  2703.  
  2704.         itemDef 
  2705.         {
  2706.             name                inventory4
  2707.             group                invcontrols
  2708.             type                ITEM_TYPE_BIND
  2709.             text                @MENUS1_LIGHT_AMP_GOGGLES
  2710.             cvar                "use_lightamp_goggles"
  2711.             rect                305 251 300 20
  2712.             textalign            ITEM_ALIGN_RIGHT
  2713.             textalignx            151
  2714.             textaligny            -2
  2715.             font                2
  2716.             textscale            0.8 
  2717.             forecolor            1 1 1 1
  2718.             visible            0
  2719.             // appearance_slot        4
  2720.             descText            @MENUS2_ACTIVATES_LIGHT_AMPLIFICATION
  2721.             action 
  2722.             { 
  2723.                 play            sound/interface/button1
  2724.             }
  2725.  
  2726.             mouseenter 
  2727.             { 
  2728.                 show            highlight5
  2729.                 show            keybindstatus
  2730.             }
  2731.             mouseexit 
  2732.             { 
  2733.                 hide            highlight5
  2734.                 hide            keybindstatus
  2735.             } 
  2736.         }
  2737.  
  2738.         itemDef 
  2739.         {
  2740.             name                inventory5
  2741.             group                invcontrols
  2742.             type                ITEM_TYPE_BIND
  2743.             text                @MENUS1_ASSAULT_SENTRY
  2744.             cvar                "use_sentry"
  2745.             rect                305 271 300 20
  2746.             textalign            ITEM_ALIGN_RIGHT
  2747.             textalignx            151
  2748.             textaligny            -2
  2749.             font                2
  2750.             textscale            0.8 
  2751.             forecolor            1 1 1 1
  2752.             visible            0
  2753.             // appearance_slot        5
  2754.             descText            @MENUS1_ACTIVATES_PORTABLE_ASSAULT
  2755.             action 
  2756.             { 
  2757.                 play            sound/interface/button1
  2758.             }
  2759.  
  2760.             mouseenter 
  2761.             { 
  2762.                 show            highlight6
  2763.                 show            keybindstatus
  2764.             }
  2765.             mouseexit 
  2766.             { 
  2767.                 hide            highlight6
  2768.                 hide            keybindstatus
  2769.             } 
  2770.         }
  2771.  
  2772.         itemDef 
  2773.         {
  2774.             name                inventorykeys
  2775.             group                invcontrols
  2776.             type                ITEM_TYPE_BIND
  2777.             text                @MENUS1_USE_HELD_ITEM
  2778.             cvar                "invuse"
  2779.             rect                305 311 300 20
  2780.             textalign            ITEM_ALIGN_RIGHT
  2781.             textalignx            151
  2782.             textaligny            -2
  2783.             font                2
  2784.             textscale            0.8 
  2785.             forecolor            1 1 1 1
  2786.             visible            0 
  2787.             // appearance_slot        6
  2788.             descText            @MENUS1_ACTIVATES_CURRENTLY_SELECTED
  2789.             action 
  2790.             { 
  2791.                 play            sound/interface/button1
  2792.             }
  2793.  
  2794.             mouseenter 
  2795.             { 
  2796.                 show            highlight8
  2797.                 show            keybindstatus
  2798.             }
  2799.             mouseexit 
  2800.             { 
  2801.                 hide            highlight8
  2802.                 hide            keybindstatus
  2803.             }
  2804.         }
  2805.  
  2806.         itemDef 
  2807.         {
  2808.             name                inventorykeys
  2809.             group                invcontrols
  2810.             type                ITEM_TYPE_BIND
  2811.             text                @MENUS1_NEXT_INVENTORY
  2812.             cvar                "invnext"
  2813.             rect                305 331 300 20
  2814.             textalign            ITEM_ALIGN_RIGHT
  2815.             textalignx            151
  2816.             textaligny            -2
  2817.             font                2
  2818.             textscale            0.8 
  2819.             forecolor            1 1 1 1
  2820.             visible            0 
  2821.             // appearance_slot        6
  2822.             descText            @MENUS1_SELECTS_NEXT_USABLE_ITEM
  2823.             action 
  2824.             { 
  2825.                 play            sound/interface/button1
  2826.             }
  2827.  
  2828.             mouseenter 
  2829.             { 
  2830.                 show            highlight9
  2831.                 show            keybindstatus
  2832.             }
  2833.             mouseexit 
  2834.             { 
  2835.                 hide            highlight9
  2836.                 hide            keybindstatus
  2837.             }
  2838.         }
  2839.  
  2840.         itemDef 
  2841.         {
  2842.             name                inventorykeys
  2843.             group                invcontrols
  2844.             type                ITEM_TYPE_BIND
  2845.             text                @MENUS1_PREV_INVENTORY
  2846.             cvar                "invprev"
  2847.             rect                305 351 300 20
  2848.             textalign            ITEM_ALIGN_RIGHT
  2849.             textalignx            151
  2850.             textaligny            -2
  2851.             font                2
  2852.             textscale            0.8 
  2853.             forecolor            1 1 1 1
  2854.             visible            0 
  2855.             // appearance_slot        6
  2856.             descText            @MENUS1_SELECTS_PREVIOUS_USABLE
  2857.             action 
  2858.             { 
  2859.                 play            sound/interface/button1
  2860.             }
  2861.  
  2862.             mouseenter 
  2863.             { 
  2864.                 show            highlight10
  2865.                 show            keybindstatus
  2866.             }
  2867.             mouseexit 
  2868.             { 
  2869.                 hide            highlight10
  2870.                 hide            keybindstatus
  2871.             }
  2872.         }
  2873.  
  2874.  
  2875.         //----------------------------------------------------------------------------------------------
  2876.         //
  2877.         //    QUICK KEY BINDING
  2878.         //
  2879.         //----------------------------------------------------------------------------------------------
  2880.         itemDef 
  2881.         {
  2882.             name                quickkeys1
  2883.             group                quickcontrols
  2884.             type                ITEM_TYPE_BIND
  2885.             text                @MENUS3_DATAPAD
  2886.             cvar                "datapad"
  2887.             rect                305 191 305 20
  2888.             textalign            ITEM_ALIGN_RIGHT
  2889.             textalignx            151
  2890.             textaligny            -2
  2891.             font                2
  2892.             textscale            0.8        
  2893.             forecolor            1 1 1 1
  2894.             visible            0 
  2895.             // appearance_slot        1
  2896.             descText            @MENUS2_CHECK_DATAPAD_FOR_MISSION
  2897.             action 
  2898.             { 
  2899.                 play            sound/interface/button1
  2900.             }
  2901.  
  2902.             mouseenter 
  2903.             { 
  2904.                 show            highlight2
  2905.                 show            keybindstatus
  2906.             }
  2907.             mouseexit 
  2908.             { 
  2909.                 hide            highlight2
  2910.                 hide            keybindstatus
  2911.             }
  2912.         }
  2913.  
  2914.         itemDef 
  2915.         {
  2916.             name                quickkeys
  2917.             group                quickcontrols
  2918.             type                ITEM_TYPE_BIND
  2919.             text                @MENUS1_SAVE_MENU
  2920.             cvar                "uimenu ingamesavemenu"
  2921.             rect                305 231 305 20
  2922.             textalign            ITEM_ALIGN_RIGHT
  2923.             textalignx            151
  2924.             textaligny            -2
  2925.             font                2
  2926.             textscale            0.8        
  2927.             forecolor            1 1 1 1
  2928.             visible            0 
  2929.             // appearance_slot        3
  2930.             descText            @MENUS2_BRINGS_UP_SAVE_GAME_MENU
  2931.             action 
  2932.             { 
  2933.                 play            sound/interface/button1
  2934.             }
  2935.  
  2936.             mouseenter 
  2937.             { 
  2938.                 show            highlight4
  2939.                 show            keybindstatus
  2940.             }
  2941.             mouseexit 
  2942.             { 
  2943.                 hide            highlight4
  2944.                 hide            keybindstatus
  2945.             }
  2946.         }
  2947.  
  2948.         itemDef 
  2949.         {
  2950.             name                quickkeys
  2951.             group                quickcontrols
  2952.             type                ITEM_TYPE_BIND
  2953.             text                @MENUS1_LOAD_MENU
  2954.             cvar                "uimenu ingameloadmenu"
  2955.             rect                305 251 305 20
  2956.             textalign            ITEM_ALIGN_RIGHT
  2957.             textalignx            151
  2958.             textaligny            -2
  2959.             font                2
  2960.             textscale            0.8        
  2961.             forecolor            1 1 1 1
  2962.             visible            0 
  2963.             // appearance_slot        4
  2964.             descText            @MENUS2_BRINGS_UP_LOAD_GAME_MENU
  2965.             action 
  2966.             { 
  2967.                 play            sound/interface/button1
  2968.             }
  2969.  
  2970.             mouseenter 
  2971.             { 
  2972.                 show            highlight5
  2973.                 show            keybindstatus
  2974.             }
  2975.             mouseexit 
  2976.             { 
  2977.                 hide            highlight5
  2978.                 hide            keybindstatus
  2979.             }
  2980.         }
  2981.  
  2982.         itemDef 
  2983.         {
  2984.             name                quickkeys
  2985.             group                quickcontrols
  2986.             type                ITEM_TYPE_BIND
  2987.             text                @MENUS1_INSTANT_SAVE
  2988.             cvar                "save quik*"
  2989.             rect                305 271 305 20
  2990.             textalign            ITEM_ALIGN_RIGHT
  2991.             textalignx            151
  2992.             textaligny            -2
  2993.             font                2
  2994.             textscale            0.8        
  2995.             forecolor            1 1 1 1
  2996.             visible            0
  2997.             // appearance_slot        5
  2998.             descText            @MENUS2_AUTOMATICALLY_SAVES_GAME
  2999.             action 
  3000.             { 
  3001.                 play            sound/interface/button1
  3002.             }
  3003.  
  3004.             mouseenter 
  3005.             { 
  3006.                 show            highlight6
  3007.                 show            keybindstatus
  3008.             }
  3009.             mouseexit 
  3010.             { 
  3011.                 hide            highlight6
  3012.                 hide            keybindstatus
  3013.             }
  3014.         }
  3015.         
  3016.         itemDef 
  3017.         {
  3018.             name                quickkeys
  3019.             group                quickcontrols
  3020.             type                ITEM_TYPE_BIND
  3021.             text                @MENUS1_INSTANT_LOAD
  3022.             cvar                "load quik"
  3023.             rect                305 291 305 20
  3024.             textalign            ITEM_ALIGN_RIGHT
  3025.             textalignx            151
  3026.             textaligny            -2
  3027.             font                2
  3028.             textscale            0.8        
  3029.             forecolor            1 1 1 1
  3030.             visible            0
  3031.             // appearance_slot        6
  3032.             descText            @MENUS2_AUTOMATICALLY_LOADS_GAME
  3033.             action 
  3034.             { 
  3035.                 play            sound/interface/button1
  3036.             }
  3037.  
  3038.             mouseenter 
  3039.             { 
  3040.                 show            highlight7
  3041.                 show            keybindstatus
  3042.             }
  3043.             mouseexit 
  3044.             { 
  3045.                 hide            highlight7
  3046.                 hide            keybindstatus
  3047.             }
  3048.         }
  3049.  
  3050.  
  3051.         //----------------------------------------------------------------------------------------------
  3052.         //
  3053.         //    MOUSE/JOYSTICK KEY BINDING
  3054.         //
  3055.         //----------------------------------------------------------------------------------------------
  3056.         itemDef 
  3057.         {
  3058.             name                mousejoystick1
  3059.             group                joycontrols
  3060.             type                ITEM_TYPE_YESNO
  3061.             text                @MENUS1_FREE_LOOK
  3062.             cvar                "cl_freelook"
  3063.             rect                305 191 300 20
  3064.             textalign            ITEM_ALIGN_RIGHT
  3065.             textaligny            -2
  3066.             textalignx            151
  3067.             font                2
  3068.             textscale            0.8
  3069.             forecolor            1 1 1 1
  3070.             visible            0
  3071.             // appearance_slot        1
  3072.             descText            @MENUS1_TOGGLE_TO_ALLOW_PLAYER
  3073.             action 
  3074.             { 
  3075.                 play            sound/interface/button1
  3076.             }
  3077.         
  3078.             mouseenter 
  3079.             { 
  3080.                 show            highlight2
  3081.             }
  3082.  
  3083.             mouseexit 
  3084.             { 
  3085.                 hide            highlight2
  3086.             }            
  3087.         }
  3088.  
  3089.         itemDef 
  3090.         {
  3091.             name                mousejoystick
  3092.             group                joycontrols
  3093.             type                ITEM_TYPE_SLIDER
  3094.             text                @MENUS1_SENSITIVITY
  3095.             cvarfloat            "sensitivity" 5 2 30
  3096.             rect                305 211 300 20
  3097.             textalign            ITEM_ALIGN_RIGHT
  3098.             textalignx            151
  3099.             textaligny            -2
  3100.             font                2
  3101.             textscale            0.8
  3102.             forecolor            1 1 1 1
  3103.             visible            0 
  3104.             // appearance_slot        2
  3105.             descText            @MENUS1_ADJUSTS_CHARACTER_REACTION
  3106.             action 
  3107.             { 
  3108.                 play            sound/interface/button1
  3109.             }
  3110.  
  3111.             mouseenter 
  3112.             { 
  3113.                 show            highlight3
  3114.             }
  3115.             mouseexit 
  3116.             { 
  3117.                 hide            highlight3
  3118.             } 
  3119.         }
  3120.  
  3121.         itemDef 
  3122.         {
  3123.             name                mousejoystick
  3124.             group                joycontrols
  3125.             type                ITEM_TYPE_YESNO
  3126.             text                @MENUS1_INVERT_MOUSE
  3127.             cvar                "ui_mousePitch"
  3128.             rect                305 231 300 20
  3129.             textalign            ITEM_ALIGN_RIGHT
  3130.             textalignx            151
  3131.             textaligny            -2
  3132.             font                2
  3133.             textscale            0.8
  3134.             forecolor            1 1 1 1
  3135.             visible            0
  3136.             // appearance_slot        3
  3137.             descText            @MENUS1_TOGGLE_TO_TILT_VIEW_IN
  3138.  
  3139.             action { uiScript update ui_mousePitch
  3140.                 play            sound/interface/button1
  3141.             }
  3142.             mouseenter 
  3143.             { 
  3144.                 show            highlight4
  3145.             }
  3146.  
  3147.             mouseexit 
  3148.             { 
  3149.                 hide            highlight4
  3150.             }            
  3151.         }
  3152.  
  3153.         itemDef 
  3154.         {
  3155.             name                mousejoystick
  3156.             group                joycontrols
  3157.             type                ITEM_TYPE_YESNO
  3158.             text                @MENUS1_SMOOTH_MOUSE
  3159.             cvar                "m_filter"
  3160.             rect                305 251 300 20
  3161.             textalign            ITEM_ALIGN_RIGHT
  3162.             textalignx            151
  3163.             textaligny            -2
  3164.             font                2
  3165.             textscale            0.8
  3166.             forecolor            1 1 1 1
  3167.             visible            0 
  3168.             // appearance_slot        4
  3169.             descText            @MENUS1_WHEN_TURNED_ON_MOUSE
  3170.             action 
  3171.             { 
  3172.                 play            sound/interface/button1
  3173.             }
  3174.  
  3175.             mouseenter 
  3176.             { 
  3177.                 show            highlight5
  3178.             }
  3179.  
  3180.             mouseexit 
  3181.             { 
  3182.                 hide            highlight5
  3183.             }            
  3184.         }
  3185.  
  3186. //
  3187. // Not shown
  3188. //
  3189.         itemDef 
  3190.         {
  3191.             name                mousejoystick
  3192.             group                joycontrols_obsolete
  3193.             type                ITEM_TYPE_YESNO
  3194.             text                @MENUS1_FORCE_FEEDBACK
  3195.             cvar                "use_ff"
  3196.             rect                305 271 300 20
  3197.             textalign            ITEM_ALIGN_RIGHT
  3198.             textalignx            151
  3199.             textaligny            -2
  3200.             font                2
  3201.             textscale            0.8
  3202.             forecolor            1 1 1 1
  3203.             visible            0 
  3204.             // appearance_slot        5
  3205.             descText            @MENUS1_WHEN_TURNED_ON_GAME
  3206.             action 
  3207.             { 
  3208.                 play            sound/interface/button1
  3209.             }
  3210.         
  3211.             mouseenter 
  3212.             { 
  3213.                 show            highlight6
  3214.             }
  3215.  
  3216.             mouseexit 
  3217.             { 
  3218.                 hide            highlight6
  3219.             }            
  3220.         }
  3221.  
  3222.         itemDef 
  3223.         {
  3224.             name                mousejoystick
  3225.             group                joycontrols
  3226.             type                ITEM_TYPE_YESNO
  3227.             text                @MENUS1_ENABLE_JOYSTICK
  3228.             cvar                "in_joystick"
  3229.             rect                305 311 300 20
  3230.             textalign            ITEM_ALIGN_RIGHT
  3231.             textalignx            151
  3232.             textaligny            -2
  3233.             font                2
  3234.             textscale            0.8
  3235.             forecolor            1 1 1 1
  3236.             visible            0 
  3237.             // appearance_slot        6
  3238.             descText            @MENUS1_TURNED_ON_GAME_SEARCHES
  3239.             action 
  3240.             { 
  3241.                 play            sound/interface/button1
  3242.                 exec            in_restart
  3243.             }
  3244.  
  3245.             mouseenter 
  3246.             { 
  3247.                 show            highlight8
  3248.             }
  3249.  
  3250.             mouseexit 
  3251.             { 
  3252.                 hide            highlight8
  3253.             }            
  3254.         }
  3255.  
  3256.         itemDef 
  3257.         {
  3258.             name                mousejoystick
  3259.             group                joycontrols
  3260.             type                ITEM_TYPE_SLIDER
  3261.             text                @MENUS1_JOYSTICK_THRESHOLD
  3262.             cvarfloat            "joy_threshold" .15 .05 .75
  3263.             rect                305 331 300 20
  3264.             textalign            ITEM_ALIGN_RIGHT
  3265.             textalignx            151
  3266.             textaligny            -2
  3267.             font                2
  3268.             textscale            0.8
  3269.             forecolor            1 1 1 1
  3270.             visible            0 
  3271.             // appearance_slot        7
  3272.             descText            @MENUS1_ADJUSTS_THE_SIZE_OF_THE
  3273.             action 
  3274.             { 
  3275.                 play            sound/interface/button1
  3276.             }
  3277.  
  3278.             mouseenter 
  3279.             { 
  3280.                 show            highlight9
  3281.             }
  3282.             mouseexit 
  3283.             { 
  3284.                 hide            highlight9
  3285.             } 
  3286.         }
  3287.  
  3288.         itemDef 
  3289.         {
  3290.             name                mousejoystick
  3291.             group                joycontrols
  3292.             type                ITEM_TYPE_YESNO
  3293.             text                @MENUS1_X_AXIS_AS_BUTTONS
  3294.             cvar                "joy_xbutton"
  3295.             rect                305 351 300 20
  3296.             textalign            ITEM_ALIGN_RIGHT
  3297.             textalignx            151
  3298.             textaligny            -2
  3299.             font                2
  3300.             textscale            0.8
  3301.             forecolor            1 1 1 1
  3302.             visible            0
  3303.             // appearance_slot        8
  3304.             descText            @MENUS1_WHEN_OFF_HORIZONTAL
  3305.             action 
  3306.             { 
  3307.                 play            sound/interface/button1
  3308.             }
  3309.         
  3310.             mouseenter 
  3311.             { 
  3312.                 show            highlight10
  3313.             }
  3314.  
  3315.             mouseexit 
  3316.             { 
  3317.                 hide            highlight10
  3318.             }            
  3319.         }
  3320.  
  3321.         itemDef 
  3322.         {
  3323.             name                mousejoystick
  3324.             group                joycontrols
  3325.             type                ITEM_TYPE_YESNO
  3326.             text                @MENUS1_Y_AXIS_AS_BUTTONS
  3327.             cvar                "joy_ybutton"
  3328.             rect                305 371 300 20
  3329.             textalign            ITEM_ALIGN_RIGHT
  3330.             textalignx            151
  3331.             textaligny            -2
  3332.             font                2
  3333.             textscale            0.8
  3334.             forecolor            1 1 1 1
  3335.             visible            0 
  3336.             // appearance_slot        9
  3337.             descText            @MENUS1_WHEN_OFF_VERTICAL_STICK
  3338.             action 
  3339.             { 
  3340.                 play            sound/interface/button1
  3341.             }
  3342.         
  3343.             mouseenter 
  3344.             { 
  3345.                 show            highlight11
  3346.             }
  3347.  
  3348.             mouseexit 
  3349.             { 
  3350.                 hide            highlight11
  3351.             }            
  3352.         }
  3353.  
  3354.         //----------------------------------------------------------------------------------------------
  3355.         //
  3356.         //    OTHER
  3357.         //
  3358.         //----------------------------------------------------------------------------------------------
  3359.         itemDef 
  3360.         {
  3361.             name                other1
  3362.             group                othercontrols
  3363.             type                ITEM_TYPE_YESNO
  3364.             text                @MENUS0_ALWAYS_RUN
  3365.             cvar                "cl_run"
  3366.             rect                305 191 300 20
  3367.             textalign            ITEM_ALIGN_RIGHT
  3368.             textalignx            151
  3369.             textaligny            -2
  3370.             font                2
  3371.             textscale            0.8
  3372.             forecolor            1 1 1 1
  3373.             visible            0
  3374.             // appearance_slot        1
  3375.             descText            @MENUS1_WHEN_ON_PLAYER_ALWAYS
  3376.             action 
  3377.             { 
  3378.                 play            sound/interface/button1
  3379.             }
  3380.         
  3381.             mouseenter 
  3382.             { 
  3383.                 show            highlight2
  3384.             }
  3385.  
  3386.             mouseexit 
  3387.             { 
  3388.                 hide            highlight2
  3389.             }            
  3390.         }
  3391.  
  3392.         itemDef 
  3393.         {
  3394.             name                other2
  3395.             group                othercontrols
  3396.                   type                ITEM_TYPE_MULTI
  3397.             text                @MENUS0_AUTO_SWITCH
  3398.             cvar                "cg_autoswitch"
  3399.             cvarFloatList        
  3400.             { 
  3401.                 @MENUS1_DON_T_SWITCH 0  
  3402.                 @MENUS1_BEST_SAFE_WEAPON 1 
  3403.                 @MENUS1_ALWAYS_BEST_WEAPON 2
  3404.             }
  3405.             rect                305 211 300 20
  3406.             textalign            ITEM_ALIGN_RIGHT
  3407.             textalignx            151
  3408.             textaligny            -2
  3409.             font                2
  3410.             textscale            0.8
  3411.             forecolor            1 1 1 1
  3412.             visible            0
  3413.             // appearance_slot        1
  3414.             descText            @MENUS1_CHOOSE_WHETHER_TO_SWITCH
  3415.             action 
  3416.             { 
  3417.                 play            sound/interface/button1
  3418.             }
  3419.  
  3420.             mouseenter 
  3421.             { 
  3422.                 show            highlight3
  3423.             }
  3424.  
  3425.             mouseexit 
  3426.             { 
  3427.                 hide            highlight3
  3428.             }            
  3429.  
  3430.         }
  3431.  
  3432.         //----------------------------------------------------------------------------------------------
  3433.         //
  3434.         //    Text
  3435.         //
  3436.         //----------------------------------------------------------------------------------------------
  3437.         itemDef 
  3438.         {
  3439.             name                keyBindStatus
  3440.             group                none
  3441.             ownerdraw            250        // UI_KEYBINDSTATUS
  3442.             text                @MENUS2_BLANK_1      
  3443.             rect                320 425 0 0
  3444.             textStyle            0
  3445.             font                2
  3446.             textscale            .8
  3447.             textalign            ITEM_ALIGN_CENTER
  3448.             forecolor            .235 .882 .847 1
  3449.             visible                0
  3450.             decoration 
  3451.         }
  3452.  
  3453.         itemDef 
  3454.         {
  3455.             name                slider_message
  3456.             group                none
  3457.             text                @MENUS0_MOVE_THE_SLIDER_TO_INCREASE      
  3458.             rect                320 425 0 0
  3459.             textStyle            0
  3460.             font                2
  3461.             textscale            .8
  3462.             textalign            ITEM_ALIGN_CENTER
  3463.             visible                0
  3464.             decoration 
  3465.         }
  3466.  
  3467.         itemDef 
  3468.         {
  3469.             name                yesno_message
  3470.             group                none
  3471.             text                @MENUS0_CLICK_ON_FIELD_TO_TOGGLE  
  3472.             rect                320 425 0 0
  3473.             textStyle            0
  3474.             font                2
  3475.             textscale            .8
  3476.             textalign            ITEM_ALIGN_CENTER
  3477.             visible                0
  3478.             decoration 
  3479.         }
  3480.  
  3481.         itemDef 
  3482.         {
  3483.             name                multi_message
  3484.             group                none
  3485.             text                @MENUS0_CLICK_ON_FIELD_TO_CHANGE
  3486.             rect                320 425 0 0
  3487.             textStyle            0
  3488.             font                2
  3489.             textscale            .8
  3490.             textalign            ITEM_ALIGN_CENTER
  3491.             visible                0
  3492.             decoration 
  3493.         }
  3494.  
  3495.     }
  3496. }
  3497.